Web lists-archives.com

Re: [Mingw-users] CreateFileA issue

It is a MinGW-W64 compiled 64 bit binary (compiled on 32 bit mint15)

The 10 fold performance slowdown is over normal file I/O.
It is actually something like 50 fold slower than the working MinGW and MinGW-W64 32 bit binaries executed on a win64 system.


DISTRIB_DESCRIPTION="Linux Mint 15 Olivia"
VERSION="13.04, Raring Ringtail"

mingw-w64                  2.0.3-1
mingw-w64-x86-64-dev       2.0.3-1

On Sat, Jan 9, 2016 at 5:02 PM, Eli Zaretskii <eliz@xxxxxxx> wrote:
> Date: Sat, 9 Jan 2016 09:52:51 +1000
> From: Steve A <stevenaaus@xxxxxxxxx>
> Actually, our problem is not resolved.
> The above fix works for g++-mingw-w64-i686, but not for our 64 bit system,
> where calling the CreateFileA API
> succeeds, but performance is reduced 10 fold or so over the normal file open
> and read. :(
> And i see now that there are two separate projects. mingw and ming-w64.
> The bug could be solely in ming-w64, as it is not evidient on my Fed144/MinGW
> system.
> If someone from MinGW-W64 could email me with any ideas, it would be
> appreciated.

If you are running a 32-bit build on a 64-bit Windows OS, the slower
performance is expected, since every system call needs to go through
the WOW64 thunking levels.  10-fold performance hit in such cases is
not unheard of, if the program does little except working with file

Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
MinGW-users mailing list

This list observes the Etiquette found at 
We ask that you be polite and do the same.  Disregard for the list etiquette may cause your account to be moderated.

You may change your MinGW Account Options or unsubscribe at:
Also: mailto:mingw-users-request@xxxxxxxxxxxxxxxxxxxxx?subject=unsubscribe