Quoting Béla MIHALIK <[email protected]>:

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.

Reply via email to