[Bug 37773] New: Handel-C compiler extremely slow under WIne compared to Windows

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Dec 24 08:29:47 CST 2014


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

            Bug ID: 37773
           Summary: Handel-C compiler extremely slow under WIne compared
                    to Windows
           Product: Wine
           Version: 1.7.33
          Hardware: x86-64
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: ntdll
          Assignee: wine-bugs at winehq.org
          Reporter: felix.huber at schyf.de
      Distribution: ---

Handel-C (a C to FPGA synthesis tool) compiles a typical design in 15 minutes
when using Win 7 in a Virtualbox.
When run under wine, no special error messages appeared, but after 10h the
compilation was still not finished and I aborted it.

I re-ran it with operf and stopped after some 15minutes. The result was that
95% of the time was spent in heap.c of ntdll.dll.so in function
HEAP_FindFreeBlock.

So I ran wine with WINEDEBUG=trace+heap,+relay and I see a lot of malloc() and
free(), but execution is so slow that I can't really see what's going on.

The problem might not be related to Handel-C but the way wine manages the heap,
as I see also lots of malloc/free with other windows applications, even when
they're idle.


Tests were done with Opensuse 64bit 12.3, 13.1 and 13.2 with Kernel from 3.11
to 3.18, all with the same slow performance.
The setup was always a clean installation with only MFC42 installed with
winetricks, as this was needed by the app. No differences were found when
switching between native and builtin MSVCRT dlls.

I wonder how  I can narrow down the cause of this poor performance.

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