Page 1 of 1

Benchmark your MT with /emergeblocks

PostPosted: Thu Jun 23, 2016 23:07
by Fixerol
Decided to do very little and simple benchmark, to do it:
1. run clean minetest without config/cache
2. create world: seed: 1, mapgen v7
3. start it
4. look up on game start, press t and type: /emergeblocks (0,0,0) (-1000,-1000,-1000)
5. wait around 20 min... don't do anything at this time
6. at the end you will get "Finished emerging 262144 blocks in X msec (on screen/in chat console)
7. post your results with hardware specs, os, minetest version

My results:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
262144 blocks in 1219303.0 ms (or 1219 sec)
Core i3-2120 3.3GHz, 8Gb DDRam 2, wd green 1Tb 5400rpm SATAIII, AMD/ATI Radeon HD 6870, Win 7 sp1, Minetest 0.4.14-dev

Re: Benchmark your MT with /emergeblocks

PostPosted: Fri Jun 24, 2016 06:13
by burli
hmmmm

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
minetest: /build/minetest-9s30Wm/minetest-201606220316/src/emerge.cpp:456: bool EmergeManager::popBlockEmergeData(v3s16, BlockEmergeData*): Zusicherung »count_peer != 0« nicht erfüllt.
Abgebrochen


This error was from the daily build from the Ubuntu PPA. My self compiled version run's without any problems.

But this "benchmark" is pretty useless because it only benches one part of Minetest. But it is interesting to see that not all areas are generated with the same speed. It took a long time e.g. from 40% to 42%, but from 42% to 48% it was fast. Would like to know which areas took so long.

And it is not consistant, however. First I run with sqlite3, which needs 1250 seconds. Then I replaced the backend in world.mt with dummy. This time it tooks 1650 seconds. Then I try leveldb which also needs over 1600 seconds. Just to confirm my first result I set the backend to sqlite again, delete the db file and run again. Over 1600 seconds.

So what does that mean? I don't know

Re: Benchmark your MT with /emergeblocks

PostPosted: Fri Jun 24, 2016 11:25
by Fixerol
Ha, this is just an experiment :)

Re: Benchmark your MT with /emergeblocks

PostPosted: Fri Jun 24, 2016 11:29
by burli
Fixerol wrote:Ha, this is just an experiment :)

How dumb we are? ;-)

No, it is really an interesting experiment, but not a competition

Re: Benchmark your MT with /emergeblocks

PostPosted: Fri Jul 22, 2016 05:09
by DI3HARD139
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
Finished emerging 262144 blocks in 946085.00ms .

(946.085 secs)
Intel Xeon X5670 @3.3GHz, 20GB DDR3 @1333 w/ 20GB Page File, 320GB WD Blue Sata II 3GB/s, GTX660 3GB, Windows 10 Pro x64, Minetest 0.4.14-release.
------------------------------------------------------------------------------------------------------------------------------------------------------------------
Edit:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
Finished emerging 262144 blocks in 655039.00ms .
once the video I had encoding in the background finished.