Can anybody help me with testing the mmap() performance on Mountain Lion and BSD?
If anybody is willing to do please perform these steps:
1) download c++ script from http://pastebin.com/....php?i=rW9H7XWp (source)
2) compile the script -
clang mmap_test.cpp.txt3) create testing 1GB file - this take some time
dd if=/dev/urandom of=io_benchmark.dat bs=1000 count=10000004) run the test script -
./a.out5) post the output
I need the output only from OS X 10.8 and BSD systems (solaris was also tested, same results as linux)
OSX10.7 LINUX 1000 mmaps 4KB blocks: 22483ms 20ms 1000 mmaps 64KB blocks: 22381ms 264ms 1000 mmaps 1024KB blocks: 24862ms 4227ms
The Wine is seriously affected by this OSX bug, most notably SWTOR, but other games too. This bug is responsible for slow loading, or choppy ingame performance.
The test from 10.8 is just to find out, if the issue was fixed. If not, the BSD test will tell us if it will be fixed in short time.
This test does not help anything, it is just for the info