Page 3 of 6

Re: Beta 8.80.0030 High CPU Usage

Posted: 22 Jan 2010 16:38
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.

Re: Beta 8.80.0030 High CPU Usage

Posted: 22 Jan 2010 21:21
by wraithdu
Sorry, no luck with beta 0032. Same performace issues and same fixes apply.

Re: Beta 8.80.0030 High CPU Usage

Posted: 22 Jan 2010 21:33
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?

Re: Beta 8.80.0030 High CPU Usage

Posted: 22 Jan 2010 23:41
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).

Re: Beta 8.80.0030 High CPU Usage

Posted: 22 Jan 2010 23:47
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.

Re: Beta 8.80.0030 High CPU Usage

Posted: 23 Jan 2010 08:47
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)

Re: Beta 8.80.0030 High CPU Usage

Posted: 23 Jan 2010 12:39
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.

Re: Beta 8.80.0030 High CPU Usage

Posted: 23 Jan 2010 12:47
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...

Re: Beta 8.80.0030 High CPU Usage

Posted: 23 Jan 2010 15:14
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

Re: Beta 8.80.0030 High CPU Usage

Posted: 23 Jan 2010 15:28
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:

Re: Beta 8.80.0030 High CPU Usage

Posted: 23 Jan 2010 15:29
by ilya
Windows 7 x86:
alpha 0: 6018.499 ms
alpha 1: 5996.111 ms

Re: Beta 8.80.0030 High CPU Usage

Posted: 23 Jan 2010 15:30
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!

Re: Beta 8.80.0030 High CPU Usage

Posted: 23 Jan 2010 15:38
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? :|

Re: Beta 8.80.0030 High CPU Usage

Posted: 23 Jan 2010 15:46
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

Re: Beta 8.80.0030 High CPU Usage

Posted: 23 Jan 2010 15:47
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