Abnormally high values for "Layout Window"

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
klownboy
Posts: 2742
Joined: 28 Feb 2012 19:27

Abnormally high values for "Layout Window"

Post by klownboy » 05 Aug 2019 19:34

Hi Don, good to see you back. For the last few weeks I've been experiencing very long load times - specifically for "Layout Window" taking 4 to 6 full seconds for this one load item. It happens 90% of the time. I've always had XYplorer fully excluded from virus scans. The desktop computer in question isn't a super fast computer (1st generation i7-930), but I usually had a total load time around 1 second. Now it's more like 5 or 6 seconds and most of that is for "Layout Window". I know this isn't a XYplorer problem, but what can I look at specifically which would cause abnormally high values for this particular load item (i.e., what's Layout Window involve)? Thanks.

Code: Select all

XY ver: 	XYplorer 20.20.0201 - upgraded from v20.20.0200
OS:     	Windows 10 Professional, 64-bit, Release 1903, Build 18362.267
Loaded: 	2019-08-05 09:24:08 in 5,876 ms

     0 ms:     212 ms - Start Load
   212 ms:       4 ms - Init Language
   216 ms:      28 ms - Load Language
   244 ms:      11 ms - Load Settings
   255 ms:     281 ms - Init Custom File Icons
   536 ms:      35 ms - Init Controls
   571 ms:     113 ms - Init Graphics
   684 ms:      16 ms - Init Tabs
   700 ms:      39 ms - Create Info Panel
   739 ms:      84 ms - Set Interface Font
   823 ms:      21 ms - Init Panes
   844 ms:       0 ms - Init Tree
   844 ms:       0 ms - Add Spec Folders
   844 ms:       0 ms - Add Links Folder
   844 ms:       0 ms - Add Desktop Folder
   844 ms:       0 ms - Add Documents Folder
   844 ms:       0 ms - Add Downloads Folder
   844 ms:       0 ms - Add User Folder
   844 ms:       1 ms - Drives To Array
   845 ms:       4 ms - Add Drives
   849 ms:       5 ms - Add Portable Devices
   854 ms:       0 ms - Init Start Path
   854 ms:     109 ms - Tab Icons
   963 ms:       1 ms - Load Catalog
   964 ms:       1 ms - Load Tags
   965 ms:     142 ms - Expand Links
 1,107 ms:      22 ms - Go Start Path: C:\
 1,129 ms:     181 ms - Init Custom Toolbar Buttons
 1,310 ms:       7 ms - Init UDC and KS
 1,317 ms:      10 ms - Load This Pane
 1,327 ms:       8 ms - Load Other Pane
 1,335 ms:   4,490 ms - Layout Window
 5,825 ms:      47 ms - Show Window
 5,872 ms:       4 ms - Init Menus
 5,876 ms:            - Load Done

MaxiTree: Rows=16, Nodes=22, Expanded=2
Pane 1: Items=70/14, Pane 2: Items=6/14, Catalog: Items=25
Edit: I neglected to mention up front that I boot to the root of C:, this computer is not connected to any network so I have no network browsing on startup. Any thoughts would be appreciated especially to troubleshoot.

admin
Site Admin
Posts: 47469
Joined: 22 May 2004 16:48
Location: Cologne, Win 8.1, Win 10
Contact:

Re: Abnormally high values for "Layout Window"

Post by admin » 13 Sep 2019 10:20

Is this still happening?

klownboy
Posts: 2742
Joined: 28 Feb 2012 19:27

Re: Abnormally high values for "Layout Window"

Post by klownboy » 13 Sep 2019 12:21

Yes, it still happens but not all the time. I just had another slow start this morning with most of the slowness attributable to Layout Window 1,383 ms: 4,557 ms - Layout Window. I've been trying to use process explorer and other tools to nail it down without any luck. That's why I was asking specifically about "Layout Window" and if there might be anything in particular about that which I could concentrate on. I also read this article https://www.zdnet.com/article/to-patch- ... asic-apps/ about VB issues in Windows 10 that gave me some concern. It mentions bug fix updates which break VB apps. But then again most people here would have seen this as well since they would have the same updates installed.

admin
Site Admin
Posts: 47469
Joined: 22 May 2004 16:48
Location: Cologne, Win 8.1, Win 10
Contact:

Re: Abnormally high values for "Layout Window"

Post by admin » 13 Sep 2019 13:39

Windows does this sometimes. Might be an awaking drive, some AV background action, network stuff...

klownboy
Posts: 2742
Joined: 28 Feb 2012 19:27

Re: Abnormally high values for "Layout Window"

Post by klownboy » 13 Sep 2019 14:38

A little frustrating though when I have XYplorer excluded from any virus scans, drives are set to never sleep, and I have no network set up on this computer,

admin
Site Admin
Posts: 47469
Joined: 22 May 2004 16:48
Location: Cologne, Win 8.1, Win 10
Contact:

Re: Abnormally high values for "Layout Window"

Post by admin » 13 Sep 2019 14:55

Whatever, since it comes sporadically it has to be Windows. XYplorer is strictly deterministic. :)

And, please show the load times from XYplorer 20.40.

klownboy
Posts: 2742
Joined: 28 Feb 2012 19:27

Re: Abnormally high values for "Layout Window"

Post by klownboy » 13 Sep 2019 15:45

admin wrote:
13 Sep 2019 14:55
since it comes sporadically it has to be Windows...
Oh yes, I said in my original post. This last start wasn't too bad but this computer, if all is well, boots around 1100 ms. It's always Layout Window that's the culprit.

Code: Select all

XY ver: 	XYplorer 20.40.0002
OS:     	Windows 10 Professional, 64-bit, Release 1903, Build 18362.356
Loaded: 	2019-09-13 09:36:33 in 4,640 ms

     0 ms:     201 ms - Start Load
   201 ms:       6 ms - Init Language
   207 ms:      26 ms - Load Language
   233 ms:      10 ms - Load Settings
   243 ms:     238 ms - Init Custom File Icons
   481 ms:      22 ms - Init Controls
   503 ms:     101 ms - Init Graphics
   604 ms:      16 ms - Init Tabs
   620 ms:      38 ms - Create Info Panel
   658 ms:      87 ms - Set Interface Font
   745 ms:      32 ms - Init Panes
   777 ms:       0 ms - Init Tree
   777 ms:       0 ms - Add Spec Folders
   777 ms:       0 ms - Add Links Folder
   777 ms:       0 ms - Add Desktop Folder
   777 ms:       0 ms - Add Documents Folder
   777 ms:       0 ms - Add Downloads Folder
   777 ms:       0 ms - Add User Folder
   777 ms:       2 ms - Drives To Array
   779 ms:       4 ms - Add Drives
   783 ms:       5 ms - Add Portable Devices
   788 ms:       0 ms - Init Start Path
   788 ms:      95 ms - Tab Icons
   883 ms:       1 ms - Load Catalog
   884 ms:       2 ms - Load Tags
   886 ms:     167 ms - Expand Links
 1,053 ms:      29 ms - Go Start Path: C:\
 1,082 ms:     175 ms - Init Custom Toolbar Buttons
 1,257 ms:       7 ms - Init UDC and KS
 1,264 ms:      34 ms - Load This Pane
 1,298 ms:       8 ms - Load Other Pane
 1,306 ms:   3,283 ms - Layout Window
 4,589 ms:      47 ms - Show Window
 4,636 ms:       4 ms - Init Menus
 4,640 ms:            - Load Done

MaxiTree: Rows=16, Nodes=22, Expanded=2
Pane 1: Items=130/26, Pane 2: Items=6/26, Catalog: Items=25

admin
Site Admin
Posts: 47469
Joined: 22 May 2004 16:48
Location: Cologne, Win 8.1, Win 10
Contact:

Re: Abnormally high values for "Layout Window"

Post by admin » 13 Sep 2019 16:12

The next beta adds some loadtime stop points to narrow it down a bit.

...
454 ms: 4 ms - Layout Window
458 ms: 8 ms - Layout Bars
466 ms: 9 ms - Layout Catalog
475 ms: 26 ms - Layout List
501 ms: 9 ms - Show Window
...

klownboy
Posts: 2742
Joined: 28 Feb 2012 19:27

Re: Abnormally high values for "Layout Window"

Post by klownboy » 13 Sep 2019 18:36

Ok, installed that last beta. It appears that the bulk of the time is taken up by "Load Catalog". I spent some time cleaning up the catalog after seeing the new load times with the beta. I had a few that I certainly didn't need and were probably put on only to test ideas from the forum. You notice that "Layout Catalog" and "Layout List" does appear twice in the listing...maybe a glitch in the beta or possibly one was supposed to be "Show" and the other "Layout"?

I closed and restarted XY about 10 times now since cleaning up the catalog including after a reboot. I'm getting load times consistently around 1050 - 1200 ms which is about what I was getting before this issue on this computer. I'd say that was very helpful additional information to have on the detailed load times. You should keep that breakdown if you can though you may want to look into the double entries I mentioned above.

Thanks Don. I'm not totally positive about it, but it looks like it may have been some bad or misbehaving catalog entries that were causing the slow startup. :beer: :tup:

Code: Select all

XY ver: 	XYplorer 20.40.0003 - upgraded from v20.40.0002
OS:     	Windows 10 Professional, 64-bit, Release 1903, Build 18362.356
Loaded: 	2019-09-13 11:22:25 in 4,446 ms

     0 ms:     211 ms - Start Load
   211 ms:       4 ms - Init Language
   215 ms:      29 ms - Load Language
   244 ms:      11 ms - Load Settings
   255 ms:     189 ms - Init Custom File Icons
   444 ms:      23 ms - Init Controls
   467 ms:      96 ms - Init Graphics
   563 ms:      17 ms - Init Tabs
   580 ms:      40 ms - Create Info Panel
   620 ms:      88 ms - Set Interface Font
   708 ms:      24 ms - Init Panes
   732 ms:       0 ms - Init Tree
   732 ms:       0 ms - Add Spec Folders
   732 ms:       0 ms - Add Links Folder
   732 ms:       0 ms - Add Desktop Folder
   732 ms:       0 ms - Add Documents Folder
   732 ms:       0 ms - Add Downloads Folder
   732 ms:       0 ms - Add User Folder
   732 ms:       2 ms - Drives To Array
   734 ms:       4 ms - Add Drives
   738 ms:       5 ms - Add Portable Devices
   743 ms:       0 ms - Init Start Path
   743 ms:      85 ms - Tab Icons
   828 ms:       1 ms - Load Catalog
   829 ms:       1 ms - Load Tags
   830 ms:      76 ms - Expand Links
   906 ms:      24 ms - Go Start Path: C:\
   930 ms:     147 ms - Init Custom Toolbar Buttons
 1,077 ms:       8 ms - Init UDC and KS
 1,085 ms:      31 ms - Load This Pane
 1,116 ms:       3 ms - Load Other Pane
 1,119 ms:       0 ms - Layout Window
 1,119 ms:      14 ms - Layout Bars
 1,133 ms:   3,215 ms - Layout Catalog
 4,348 ms:      46 ms - Layout List
 4,394 ms:      28 ms - Show Window
 4,422 ms:       0 ms - Layout Catalog
 4,422 ms:      20 ms - Layout List
 4,442 ms:       4 ms - Init Menus
 4,446 ms:            - Load Done

MaxiTree: Rows=16, Nodes=22, Expanded=2
Pane 1: Items=130/26, Pane 2: Items=6/26, Catalog: Items=25

admin
Site Admin
Posts: 47469
Joined: 22 May 2004 16:48
Location: Cologne, Win 8.1, Win 10
Contact:

Re: Abnormally high values for "Layout Window"

Post by admin » 14 Sep 2019 09:53

Yes, I will keep them in.
I'll check that double entries.

Those Catalog entries that caused it, was that network or what? Were they in the visible part of the Catalog? Was the Catalog itself visible at startup?

klownboy
Posts: 2742
Joined: 28 Feb 2012 19:27

Re: Abnormally high values for "Layout Window"

Post by klownboy » 14 Sep 2019 12:50

I wish I had kept a copy of the catalog entries because now I don't remember specifically what they did, but they were not network related (no network on this computer). They were a visible part of the catalog and it was displayed/visible on startup.

admin
Site Admin
Posts: 47469
Joined: 22 May 2004 16:48
Location: Cologne, Win 8.1, Win 10
Contact:

Re: Abnormally high values for "Layout Window"

Post by admin » 14 Sep 2019 13:04

There should be a copy of catalog.dat in your AutoBackup folder <xydata>\AutoBackup...

klownboy
Posts: 2742
Joined: 28 Feb 2012 19:27

Re: Abnormally high values for "Layout Window"

Post by klownboy » 14 Sep 2019 15:28

OK, I forgot about backups. I was most suspicious of 2 executables, one script and one non existent icon .

One was DVDFab.exe that when started was checking servers for a long time. I'm not sure if it's checking their servers or checking mine, but in any case I don't have one. It took quite awhile for it to be ready for use. I don't use it now at all so I removed it from the catalog.

Another executable was BD Rebuilder (BDRB.exe). When I attempted to start it, it provided a message that the program was out of date and told me to go to their website to get an update. I haven't used that one in years so it went bye bye.

I had a catalog entry for an old script which would not run. I didn't bother to find out why. I just deleted the catalog entry.

The last one was an catalog entry which had an old icon since renamed or deleted. The item displayed a question mark. I updated the icon referral.

I've run all the remaining catalog entries and they work fine.

Thanks again.

admin
Site Admin
Posts: 47469
Joined: 22 May 2004 16:48
Location: Cologne, Win 8.1, Win 10
Contact:

Re: Abnormally high values for "Layout Window"

Post by admin » 15 Sep 2019 13:45

The catalog does not run those executables on startup. It just tries to retrieve their icons. That might cause a lag if they are on an unavailable network location, or if some heavy AV action is triggered. The former can be eliminated if you tick Configuration | General | Startup & Exit | No network browsing on startup.

klownboy
Posts: 2742
Joined: 28 Feb 2012 19:27

Re: Abnormally high values for "Layout Window"

Post by klownboy » 15 Sep 2019 15:02

admin wrote:
15 Sep 2019 13:45
It just tries to retrieve their icons. That might cause a lag if they are on an unavailable network location, or if some heavy AV action is triggered.
Good to know. I had no network browsing already checked since this computer isn't on a network.

So in general I may be better off referring to icons from my <xyicons> folder instead of the executables especially if the executables are in locations that are virus scanned (my xy folder is excluded obviously).

I noticed after installing the last beta v20.40.0005 that the 2nd start, the one after the very first start after using SC update, had a high Load Catalog value again (see below). Since that high load time start, the subsequent loads have been fine. But I'm going to further cleanup the catalog and refer to icons in <xyicons> from now on.

Code: Select all

XY ver: 	XYplorer 20.40.0005
OS:     	Windows 10 Professional, 64-bit, Release 1903, Build 18362.356
Loaded: 	2019-09-15 06:36:22 in 5,465 ms

     0 ms:     216 ms - Start Load
   216 ms:       6 ms - Init Language
   222 ms:      31 ms - Load Language
   253 ms:      10 ms - Load Settings
   263 ms:     275 ms - Init Custom File Icons
   538 ms:      29 ms - Init Controls
   567 ms:     116 ms - Init Graphics
   683 ms:      17 ms - Init Tabs
   700 ms:      41 ms - Create Info Panel
   741 ms:      85 ms - Set Interface Font
   826 ms:      23 ms - Init Panes
   849 ms:       0 ms - Init Tree
   849 ms:       0 ms - Add Spec Folders
   849 ms:       0 ms - Add Links Folder
   849 ms:       0 ms - Add Desktop Folder
   849 ms:       0 ms - Add Documents Folder
   849 ms:       0 ms - Add Downloads Folder
   849 ms:       0 ms - Add User Folder
   849 ms:       4 ms - Drives To Array
   853 ms:       5 ms - Add Drives
   858 ms:       9 ms - Add Portable Devices
   867 ms:       0 ms - Init Start Path
   867 ms:     115 ms - Tab Icons
   982 ms:       1 ms - Load Catalog
   983 ms:       2 ms - Load Tags
   985 ms:     196 ms - Expand Links
 1,181 ms:      22 ms - Go Start Path: C:\
 1,203 ms:     201 ms - Init Custom Toolbar Buttons
 1,404 ms:       7 ms - Init UDC and KS
 1,411 ms:      14 ms - Load This Pane
 1,425 ms:       4 ms - Load Other Pane
 1,429 ms:       0 ms - Layout Window
 1,429 ms:      14 ms - Layout Bars
 1,443 ms:   3,909 ms - Layout Catalog
 5,352 ms:      51 ms - Layout List
 5,403 ms:      57 ms - Show Window
 5,460 ms:       5 ms - Init Menus
 5,465 ms:            - Load Done

MaxiTree: Rows=16, Nodes=22, Expanded=2
Pane 1: Items=130/26, Pane 2: Items=6/26, Catalog: Items=19

Post Reply