I hope you consider using linkbench for MongoDB because MongoDB + TokuDB struggle with it compared to the other MongoDB engines. One of my tests loads with maxid1=2M which fits in the 8G of RAM on my test server (Intel NUC, core i3, 8G RAM, Samsung 850 EVO SSD). Most engines sustain 4000+ inserts/second, Mongo+Toku 3.0.9 got ~3000 inserts/second. Mongo+Toku for 3.2.4 has dropped to about ~1000/second when the load is 80% done and is currently doing ~200/second so the average rate is dropping fast.
I used the same command line for 3.0.9 and 3.2.4 but the perf problem is much worse in 3.2.4. Am I missing a config option?
PMP stack traces:
https://gist.github.com/mdcallag/1fac002d643a4ce49dc77fa0325f23e5The log describes the binary as:
2016-04-25T16:36:20.240-0700 I CONTROL [initandlisten] MongoDB starting : pid=12930 port=27017 dbpath=/data/m/mo master=1 64-bit host=nuc3
2016-04-25T16:36:20.240-0700 I CONTROL [initandlisten] db version v3.2.4-1.0rc2
2016-04-25T16:36:20.240-0700 I CONTROL [initandlisten] git version: ff8d1c68e1b8d4d0686f21fafe85ba79d8043376
2016-04-25T16:36:20.240-0700 I CONTROL [initandlisten] OpenSSL version: OpenSSL 1.0.1f 6 Jan 2014
2016-04-25T16:36:20.240-0700 I CONTROL [initandlisten] allocator: tcmallocs: 0
2016-04-25T16:36:20.240-0700 I CONTROL [initandlisten] modules: noneuth Session
2016-04-25T16:36:20.240-0700 I CONTROL [initandlisten] build environment: pid=12930 port=27017 dbpath=/data/m/mo master=1 64-bit host=nuc3
2016-04-25T16:36:20.240-0700 I CONTROL [initandlisten] distarch: x86_640rc2
2016-04-25T16:36:20.240-0700 I CONTROL [initandlisten] target_arch: x86_64b8d4d0686f21fafe85ba79d8043376
--