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:
ilya
Posts: 66
Joined: 02 Jun 2009 22:42

Re: Beta 8.80.0030 High CPU Usage

Post 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

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

Re: Beta 8.80.0030 High CPU Usage

Post 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

admin
Site Admin
Posts: 65015
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 »

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...

zer0
Posts: 2676
Joined: 19 Jan 2009 20:11

Re: Beta 8.80.0030 High CPU Usage

Post 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
Reporting a bug? Have a wish? Got a question? Use search - View roadmap - FAQs: Forum + XY site
Windows 7/10
Always using the latest stable two-decimal build

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

Re: Beta 8.80.0030 High CPU Usage

Post 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

zer0
Posts: 2676
Joined: 19 Jan 2009 20:11

Re: Beta 8.80.0030 High CPU Usage

Post 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.
Reporting a bug? Have a wish? Got a question? Use search - View roadmap - FAQs: Forum + XY site
Windows 7/10
Always using the latest stable two-decimal build

admin
Site Admin
Posts: 65015
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 »

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... :(

zer0
Posts: 2676
Joined: 19 Jan 2009 20:11

Re: Beta 8.80.0030 High CPU Usage

Post 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.
Reporting a bug? Have a wish? Got a question? Use search - View roadmap - FAQs: Forum + XY site
Windows 7/10
Always using the latest stable two-decimal build

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

Re: Beta 8.80.0030 High CPU Usage

Post 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

admin
Site Admin
Posts: 65015
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 »

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:

admin
Site Admin
Posts: 65015
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 »

Should be fixed now (v8.80.0036). Try this to see a significant speed improvement (compared to alpha 0):

Code: Select all

::alpha 3;

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

Re: Beta 8.80.0030 High CPU Usage

Post 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

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

Re: Beta 8.80.0030 High CPU Usage

Post 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 :) .

admin
Site Admin
Posts: 65015
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 »

Good. So I assume the tree is fast again. :D

admin
Site Admin
Posts: 65015
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 »

BTW, 4.2 msecs here on alpha 3 -- am I the fastest? :mrgreen:

Post Reply