This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: random access memory cycle runs ten times faster on win32 platform than on linux - strange


Quoting BÃla MIHALIK <bela.mihalik@gmail.com>:

If I compile it with mingw32 compiler, or VisualC++ then it gives good result.

Here are my results for memory bandwith test:

Linux: 373.574249 MB/s
Win32: 4468.297363 MB/s

I don't think that has anything to do with the code generated by the compiler; rather, I think the random function you use on Windows is broken. The bandwidth is way too high for pages misses in most loop iterations.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]