Beta 8.80.0030 High CPU Usage

Things you’d like to miss in the future...
Forum rules
:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:

:info: Please include the following information:
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: We recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once.

:info: When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".

:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:
serendipity
Posts: 3360
Joined: 07 May 2007 18:14
Location: NJ/NY

Re: Beta 8.80.0030 High CPU Usage

Post by serendipity »

admin wrote:Questions:

1) Could it be that those on Win7 without a problem are use Flat plus-minus icons in Configuration / Interface Colors?
Its definitely the "plus-minus icons". If I check the "Flat" option the tab switch is normal and with "Flat" unchecked the tab switch has a slight delay.

wraithdu
Posts: 27
Joined: 17 Apr 2008 07:51

Re: Beta 8.80.0030 High CPU Usage

Post by wraithdu »

Sorry, no luck with beta 0032. Same performace issues and same fixes apply.

admin
Site Admin
Posts: 65013
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Beta 8.80.0030 High CPU Usage

Post by admin »

wraithdu wrote:Sorry, no luck with beta 0032. Same performace issues and same fixes apply.
Wow. Are there other areas with similar issues? E.g. the Customize Toolbar dialog when you scroll the lists there?

wraithdu
Posts: 27
Joined: 17 Apr 2008 07:51

Re: Beta 8.80.0030 High CPU Usage

Post by wraithdu »

Ahh yes, indeed. There is a considerable lag when scrolling the list on the left (I'm on my x64 desktop testing this now, just confirming the problem on my different systems).

nas8e9
Posts: 2232
Joined: 21 Jun 2008 14:50

Re: Beta 8.80.0030 High CPU Usage

Post by nas8e9 »

admin wrote:
wraithdu wrote:Sorry, no luck with beta 0032. Same performace issues and same fixes apply.
Wow. Are there other areas with similar issues? E.g. the Customize Toolbar dialog when you scroll the lists there?
Scrolling the Customize Toolbar dialog does not cause high CPU load on my PC with 8.80.0032 beta.

I do see the problem with tree scrolling with Flat plus-minus icons disabled on Windows 7 x86 RTM with Aero disabled. Enabling Flat plus-minus icons solves the problem.

admin
Site Admin
Posts: 65013
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Beta 8.80.0030 High CPU Usage

Post by admin »

In the meantime I found vague indication that this might be caused by a Win7 bug where a certain drawing function is 10 times slower than under Vista or earlier.

To isolate the problem I need more facts:

1) Please check Beveled border in Configuration / Interface Colors. Does it make a difference?

2) Is it true that there is no such problem under Vista?

3) Is it true that there is no such problem when Aero is turned off?

4) Can other users (besides wraithdu) confirm that also the scrolling in Customize Toolbar has a problem? (one user already reported that he has NO problem here)

nas8e9
Posts: 2232
Joined: 21 Jun 2008 14:50

Re: Beta 8.80.0030 High CPU Usage

Post by nas8e9 »

admin wrote:In the meantime I found vague indication that this might be caused by a Win7 bug where a certain drawing function is 10 times slower than under Vista or earlier.

To isolate the problem I need more facts:

1) Please check Beveled border in Configuration / Interface Colors. Does it make a difference?

2) Is it true that there is no such problem under Vista?

3) Is it true that there is no such problem when Aero is turned off?

4) Can other users (besides wraithdu) confirm that also the scrolling in Customize Toolbar has a problem? (one user already reported that he has NO problem here)
1. Enabling Beveled border does not make a difference in CPU load.

2. Can't test that.

3. The above results apply to Windows 7 x86 with Aero off, so Aero itself doesn't seem to be a factor. In terms of Windows's Visual Effects, all but Smooth edges of screen fonts are disabled.

admin
Site Admin
Posts: 65013
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Beta 8.80.0030 High CPU Usage

Post by admin »

nas8e9 wrote:
admin wrote:In the meantime I found vague indication that this might be caused by a Win7 bug where a certain drawing function is 10 times slower than under Vista or earlier.

To isolate the problem I need more facts:

1) Please check Beveled border in Configuration / Interface Colors. Does it make a difference?

2) Is it true that there is no such problem under Vista?

3) Is it true that there is no such problem when Aero is turned off?

4) Can other users (besides wraithdu) confirm that also the scrolling in Customize Toolbar has a problem? (one user already reported that he has NO problem here)
1. Enabling Beveled border does not make a difference in CPU load.

2. Can't test that.

3. The above results apply to Windows 7 x86 with Aero off, so Aero itself doesn't seem to be a factor. In terms of Windows's Visual Effects, all but Smooth edges of screen fonts are disabled.
Thanks, a tough bug! Next beta version will have some debug code...

admin
Site Admin
Posts: 65013
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Beta 8.80.0030 High CPU Usage

Post by admin »

v8.80.0033 - 2010-01-23 15:11

Please try 2 debug scripts:

Code: Select all

::alpha 0;

Code: Select all

::alpha 1;
Both draw a plus symbol 1,000 times to the top-left corner of the tree. The time needed is printed to the status bar.

My results (XP SP3):
alpha 0: ~ 17.5 msecs
alpha 1: ~ 18.5 msecs

jacky
XYwiki Master
Posts: 3106
Joined: 23 Aug 2005 22:25
Location: France
Contact:

Re: Beta 8.80.0030 High CPU Usage

Post by jacky »

admin wrote:My results (XP SP3):
alpha 0: ~ 17.5 msecs
alpha 1: ~ 18.5 msecs
Win7 32bits (Aero on):
alpha 0: 5 934,438 ms / 5 922,486 ms / 5 912,035 ms
alpha 1: 5 936,345 ms / 5 936,600 ms / 5 915,814 ms

PS: Damnit! When I first saw that new icon for Suspend AR, I got all confused wondering what the Hell that was/what was going on! :lol:
Proud XYplorer Fanatic

ilya
Posts: 66
Joined: 02 Jun 2009 22:42

Re: Beta 8.80.0030 High CPU Usage

Post by ilya »

Windows 7 x86:
alpha 0: 6018.499 ms
alpha 1: 5996.111 ms

nas8e9
Posts: 2232
Joined: 21 Jun 2008 14:50

Re: Beta 8.80.0030 High CPU Usage

Post by nas8e9 »

admin wrote:v8.80.0033 - 2010-01-23 15:11

Please try 2 debug scripts:

Code: Select all

::alpha 0;

Code: Select all

::alpha 1;
Both draw a plus symbol 1,000 times to the top-left corner of the tree. The time needed is printed to the status bar.

My results (XP SP3):
alpha 0: ~ 17.5 msecs
alpha 1: ~ 18.5 msecs
Windows 7 x86 with Aero off:
alpha 0: 10.597,151 msecs
alpha 1: 10.603,519 msecs.

This is on 6 year old hardware (my main computer is broken :cry:), but still quite a difference!

admin
Site Admin
Posts: 65013
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Beta 8.80.0030 High CPU Usage

Post by admin »

So it looks like Win7 is around 333x slower than XP when drawing a simple 9x9 pixel image (which is even without any alpha-transparency) . Better than the factor 1,000 I've read about in the web, but still not a source of joy. What now? :|

Stefan
Posts: 1360
Joined: 18 Nov 2008 21:47
Location: Europe

Re: Beta 8.80.0030 High CPU Usage

Post by Stefan »

XP
::alpha 0; ~65 - 70 (one time 39 seen)
::alpha 1; ~70 - 73 (one time 30, one time 80 seen)

on:

Code: Select all

C:\Dokumente und Einstellungen\Administrator>systeminfo

Betriebssystemname:                     Microsoft Windows XP Professional
Betriebssystemversion:                  5.1.2600 Service Pack 2 Build 2600
Systembetriebszeit:                     0 Tage, 21 Stunden, 22 Minuten, 57 Sekunden
Systemhersteller:                       Dell Computer Corporation
Systemmodell:                           Latitude D600
Prozessor(en):                          1 Prozessor(en) installiert.
                                        [01]: x86 Family 6 Model 9 Stepping 5 Genuin   1,2 GHz
Systemgebietsschema:                    de;Deutsch (Deutschland)
Gesamter physikalischer Speicher:       2.047 MB
Verfügbarer physikalischer Speicher:    1.313 MB
Virtueller Speicher: Maximale Größe:    2.048 MB
Virtueller Speicher: Verfügbar:         2.008 MB
Virtueller Speicher: Zurzeit verwendet: 40 MB
Auslagerungsdateipfad(e):               E:\pagefile.sys

admin
Site Admin
Posts: 65013
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Beta 8.80.0030 High CPU Usage

Post by admin »

admin wrote:So it looks like Win7 is around 333x slower than XP when drawing a simple 9x9 pixel image (which is even without any alpha-transparency) . Better than the factor 1,000 I've read about in the web, but still not a source of joy. What now? :|
Sorry for my stupid reasoning above! Of course I forgot that you might have a faster machine than me. :roll: So the factor 1,000 could well be true...

Sorry #2 for uploading another version 2 minutes ago, but the last one had a drawing problem due to an unwise optimization effort. I had to remove the latter which made my (and probably your) results around 2x slower:

My results (XP SP3) with v8.80.0034:
alpha 0: ~ 33.5 msecs
alpha 1: ~ 35.5 msecs

Post Reply