[Bug 17200] A demoscene sound only demo (invisible.exe) consumes way too many CPU cycles

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Sep 2 15:44:01 CDT 2014


https://bugs.winehq.org/show_bug.cgi?id=17200

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |focht at gmx.net

--- Comment #11 from Anastasius Focht <focht at gmx.net> ---
Hello folks,

confirming, still present.

Download: http://gargaj.umlaut.hu/music/gargaj-invisible.zip

Jeff is on the right track regarding msvcrt math functions.

If you pin the process to one core on multi-core system ('taskset -c 0'), it
becomes more immanent.

With builtin msvcrt it's saturating one core with 100% vs. 48-61% with native
msvcrt ('winetricks -q vcrun6' and 'WINEDLLOVERRIDES=msvcrt=n taskset -c 0 wine
./invisible.exe').

For the other parts, that is user32 (keystate polling), ntdll (native sync
objects, console output), Windows will always beat Wine/Linux here due to the
way Wine is implemented (fast syscalls vs. multiple roundtrips with userspace
processes/context switches) -> comparing apples and oranges.

$ sha1sum gargaj-invisible.zip 
463ade4d0b1c4c6f2e32668ac919e0dc105f5174  gargaj-invisible.zip

$ du -sh gargaj-invisible.zip 
20K    gargaj-invisible.zip

$ wine --version
wine-1.7.25-93-g12aa347

Regards

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list