Page 4 of 6

Re: Beta 8.80.0030 High CPU Usage

Posted: 23 Jan 2010 15:58
by ilya
ilya wrote:Windows 7 x86:
alpha 0: 6018.499 ms
alpha 1: 5996.111 ms
New results on v8.80.0034:
alpha 0: 5889.191 ms
alpha 1: 5907.327 ms

Re: Beta 8.80.0030 High CPU Usage

Posted: 23 Jan 2010 15:59
by Stefan
My results (XP SP2, 1,2 GHz, 2GB)
with v8.80.0034:
~ 125 msecs

with v8.80.0033:
::alpha 0; ~65-70
::alpha 1; ~70-73

Re: Beta 8.80.0030 High CPU Usage

Posted: 23 Jan 2010 16:12
by admin
ilya wrote:
ilya wrote:Windows 7 x86:
alpha 0: 6018.499 ms
alpha 1: 5996.111 ms
New results on v8.80.0034:
alpha 0: 5889.191 ms
alpha 1: 5907.327 ms
Faster! Okay, that only puts a sharper focus on the culprit. It all seems to boil down to one particular API call (GdipDrawImageRectRectI) which has been messed up in Win7, or, more specifically, in the gdiplus.dll shipped with Win7. There's not yet much info about the latest gdiplus, but I'm squeezing the web for solutions...

Re: Beta 8.80.0030 High CPU Usage

Posted: 23 Jan 2010 16:36
by zer0
Seeing as I'm running Win 7, I thought I'd add my findings to the bunch:

alpha 0: 5,638.619 ms
alpha 1: 5,650.661 ms

Seems to be the fastest of the lot so far on my Quad Core 6600 2.4GHz, 4GB RAM

Re: Beta 8.80.0030 High CPU Usage

Posted: 23 Jan 2010 17:02
by Stefan
admin wrote:, or, more specifically, in the gdiplus.dll shipped with Win7. There's not yet much info about the latest gdiplus, .
Couldn't the Win7 users just put an GDIplus.dll from XP
into there XYplorer folder, then XYplorer should use just this version.
At least as an work around.

On this laptop XY use v 5.2.6001.22319:
http://rapidshare.com/files/339889674/G ... 9.zip.html
MD5: F31EB839B4D20AFC38FB679363DE1FF8

Re: Beta 8.80.0030 High CPU Usage

Posted: 23 Jan 2010 17:28
by zer0
Stefan wrote:Couldn't the Win7 users just put an GDIplus.dll from XP
into there XYplorer folder, then XYplorer should use just this version.
At least as an work around.
No, I don't think so. Vista/Win 7 use Desktop Window Manager, so GDI and GDI+ render path goes through WMD. This is not the case in XP.

Re: Beta 8.80.0030 High CPU Usage

Posted: 23 Jan 2010 18:24
by admin
I'm now sure that gdiplus in Win7 is buggy and can only hope for a fast update by MS.

For Win7 users only:
For the meantime I have one last and extremely small hope. Please download this exe:
http://www.xyplorer.com/download/XYplorer_8.80.0035.zip
and try this line:

Code: Select all

::alpha 2;
If this is still slow I will have to write extra code for Win7 users -- a thing no programmer likes to do... :(

Re: Beta 8.80.0030 High CPU Usage

Posted: 23 Jan 2010 18:35
by zer0

Code: Select all

::alpha 2;
5,641.017 ms

P.S. If it is a bug in GDI+, then I hope that you will make Microsoft aware of this. The next "Black Tuesday" is in a little over 2 weeks.

Re: Beta 8.80.0030 High CPU Usage

Posted: 23 Jan 2010 18:45
by ilya
ilya wrote:
ilya wrote:Windows 7 x86:
alpha 0: 6018.499 ms
alpha 1: 5996.111 ms
New results on v8.80.0034:
alpha 0: 5889.191 ms
alpha 1: 5907.327 ms
alpha 2: 5686.265 ms

Re: Beta 8.80.0030 High CPU Usage

Posted: 23 Jan 2010 18:48
by admin
zer0 wrote:

Code: Select all

::alpha 2;
5,641.017 ms

P.S. If it is a bug in GDI+, then I hope that you will make Microsoft aware of this. The next "Black Tuesday" is in a little over 2 weeks.
It won't help me even if they fix it because I have to do things now to support Win7-with-buggy-gdiplus that cannot be done in a conditional way. I have to rewrite parts of the app that even go down to the embedded resources. :evil:

Re: Beta 8.80.0030 High CPU Usage

Posted: 24 Jan 2010 12:48
by admin
Should be fixed now (v8.80.0036). Try this to see a significant speed improvement (compared to alpha 0):

Code: Select all

::alpha 3;

Re: Beta 8.80.0030 High CPU Usage

Posted: 24 Jan 2010 12:57
by ilya
Windows 7 32bit, XYplorer v8.80.0036:
alpha 0: 5685.699 ms
alpha 1: 5819.771 ms
alpha 2: 5753.559 ms
alpha 3: 19.790 ms

:D

Re: Beta 8.80.0030 High CPU Usage

Posted: 24 Jan 2010 12:57
by nas8e9
admin wrote:Should be fixed now (v8.80.0036). Try this to see a significant speed improvement (compared to alpha 0):

Code: Select all

::alpha 3;
alpha 0: ~ 8.500 msecs
alpha 3: ~ 15 msecs

XYplorer 8.80.0036 beta
Windows 7 x86
*old* hardware :) .

Re: Beta 8.80.0030 High CPU Usage

Posted: 24 Jan 2010 12:59
by admin
Good. So I assume the tree is fast again. :D

Re: Beta 8.80.0030 High CPU Usage

Posted: 24 Jan 2010 13:09
by admin
BTW, 4.2 msecs here on alpha 3 -- am I the fastest? :mrgreen: