Dataset: 21M
Dgraph test on v20.03.0
Sys TMP files on => WDS500G3XHC-00SJG0
Run on => Kingston SKC1000240G
nquad_speed:212.9k/sec
edge_speed:958.7k/sec
plist_speed:278.8k/sec
edge_speed:2.136M/sec
Total: 02m53s
Dgraph test on v20.07.0
Sys TMP files on => WDS500G3XHC-00SJG0
Run on => Kingston SKC1000240G
nquad_speed:255.2k/sec
edge_speed:1.007M/sec
plist_speed:271.5k/sec
edge_speed:2.168M/sec
Total: 02m49s
Dgraph test on MASTER BRANCH with jemalloc
Sys TMP files on => WDS500G3XHC-00SJG0
Run on => Kingston SKC1000240G
nquad_speed:963.4k/sec
edge_speed:2.556M/sec
plist_speed:856.8k/sec
edge_speed:4.263M/sec
Total: 01m57s
Note: Feels like it uses less RAM and also cleans up faster.
Logs:
[23:27:26-0300] MAP 50s nquad_count:21.24M err_count:0.000 nquad_speed:424.7k/sec edge_count:102.3M edge_speed:2.046M/sec GoMem MB: 2280 CMem MB: 4096
[23:27:27-0300] MAP 51s nquad_count:21.24M err_count:0.000 nquad_speed:416.4k/sec edge_count:102.3M edge_speed:2.006M/sec GoMem MB: 2280 CMem MB: 4096
[23:27:28-0300] MAP 52s nquad_count:21.24M err_count:0.000 nquad_speed:408.3k/sec edge_count:102.3M edge_speed:1.967M/sec GoMem MB: 2280 CMem MB: 4096
[23:27:29-0300] MAP 53s nquad_count:21.24M err_count:0.000 nquad_speed:400.7k/sec edge_count:102.3M edge_speed:1.930M/sec GoMem MB: 2280 CMem MB: 4096
[23:27:30-0300] MAP 54s nquad_count:21.24M err_count:0.000 nquad_speed:393.3k/sec edge_count:102.3M edge_speed:1.894M/sec GoMem MB: 2280 CMem MB: 4096
[23:27:31-0300] MAP 55s nquad_count:21.24M err_count:0.000 nquad_speed:386.0k/sec edge_count:102.3M edge_speed:1.859M/sec GoMem MB: 2280 CMem MB: 4096
[23:27:32-0300] MAP 56s nquad_count:21.24M err_count:0.000 nquad_speed:379.2k/sec edge_count:102.3M edge_speed:1.827M/sec GoMem MB: 2280 CMem MB: 4096
[23:27:33-0300] MAP 57s nquad_count:21.24M err_count:0.000 nquad_speed:372.6k/sec edge_count:102.3M edge_speed:1.795M/sec GoMem MB: 2280 CMem MB: 4096
[23:27:34-0300] MAP 58s nquad_count:21.24M err_count:0.000 nquad_speed:366.1k/sec edge_count:102.3M edge_speed:1.763M/sec GoMem MB: 2280 CMem MB: 4096
[23:27:35-0300] MAP 59s nquad_count:21.24M err_count:0.000 nquad_speed:360.0k/sec edge_count:102.3M edge_speed:1.734M/sec GoMem MB: 2280 CMem MB: 4096
[23:27:36-0300] MAP 01m00s nquad_count:21.24M err_count:0.000 nquad_speed:354.0k/sec edge_count:102.3M edge_speed:1.705M/sec GoMem MB: 2280 CMem MB: 4096
[23:27:37-0300] MAP 01m01s nquad_count:21.24M err_count:0.000 nquad_speed:348.1k/sec edge_count:102.3M edge_speed:1.677M/sec GoMem MB: 2280 CMem MB: 4096
___ Begin jemalloc statistics ___
Version: "5.2.1-531-gd243b4ec487224248172547643630f7a5fb5e84d"
Build-time option settings
config.cache_oblivious: true
config.debug: false
config.fill: true
config.lazy_lock: false
config.malloc_conf: ""
config.opt_safety_checks: false
config.prof: true
config.prof_libgcc: false
config.prof_libunwind: false
config.stats: true
config.utrace: false
config.xmalloc: false
Run-time option settings
opt.abort: false
opt.abort_conf: false
opt.confirm_conf: false
opt.retain: false
opt.dss: "secondary"
opt.narenas: 64
opt.percpu_arena: "disabled"
opt.oversize_threshold: 8388608
opt.metadata_thp: "disabled"
opt.dirty_decay_ms: 10000 (arenas.dirty_decay_ms: 10000)
opt.muzzy_decay_ms: 0 (arenas.muzzy_decay_ms: 0)
opt.lg_extent_max_active_fit: 6
opt.junk: "false"
opt.zero: false
opt.tcache: true
opt.lg_tcache_max: 15
opt.tcache_nslots_small_min: 20
opt.tcache_nslots_small_max: 200
opt.tcache_nslots_large: 20
opt.lg_tcache_nslots_mul: 1
opt.tcache_gc_incr_bytes: 65536
opt.tcache_gc_delay_bytes: 0
opt.lg_tcache_flush_small_div: 1
opt.lg_tcache_flush_large_div: 1
opt.thp: "not supported"
opt.prof: false
opt.prof_prefix: "jeprof"
opt.prof_active: true (prof.active: false)
opt.prof_thread_active_init: true (prof.thread_active_init: false)
opt.lg_prof_sample: 19 (prof.lg_sample: 0)
opt.prof_accum: false
opt.lg_prof_interval: -1
opt.prof_gdump: false
opt.prof_final: false
opt.prof_leak: false
opt.stats_print: false
opt.stats_print_opts: ""
opt.stats_print: false
opt.stats_print_opts: ""
opt.stats_interval: -1
opt.stats_interval_opts: ""
opt.zero_realloc: "strict"
Profiling settings
prof.thread_active_init: false
prof.active: false
prof.gdump: false
prof.interval: 0
prof.lg_sample: 0
Arenas: 65
Quantum size: 16
Page size: 4096
Maximum thread-cached size class: 32768
Number of bin size classes: 36
Number of thread-cache bin size classes: 41
Number of large size classes: 196
Allocated: 5371041760, active: 5371461632, metadata: 24531344 (n_thp 0), resident: 5430169600, mapped: 5526704128, retained: 0
Count of realloc(non-null-ptr, 0) calls: 0
Background threads: 0, num_runs: 0, run_interval: 0 ns
--- End jemalloc statistics ---
Draining the last batch
Final Histogram of buffer sizes:
-- Histogram:
Min value: 0
Max value: 65673429
Mean: 2224296.36
[0 B, 1.0 MiB) 1066 58.60%
[1.0 MiB, 2.0 MiB) 124 6.82%
[2.0 MiB, 4.0 MiB) 232 12.75%
[4.0 MiB, 8.0 MiB) 275 15.12%
[8.0 MiB, 16 MiB) 119 6.54%
[16 MiB, 32 MiB) 1 0.05%
[32 MiB, 64 MiB) 2 0.11%
--
[23:28:30-0300] REDUCE 01m54s 100.00% edge_count:102.3M edge_speed:4.651M/sec plist_count:18.85M plist_speed:856.8k/sec. Num Encoding MBs: 0. GoMem MB: 561 CMem MB: 8640
[23:28:31-0300] REDUCE 01m55s 100.00% edge_count:102.3M edge_speed:4.449M/sec plist_count:18.85M plist_speed:819.6k/sec. Num Encoding MBs: 0. GoMem MB: 618 CMem MB: 5760
[23:28:32-0300] REDUCE 01m56s 100.00% edge_count:102.3M edge_speed:4.263M/sec plist_count:18.85M plist_speed:785.4k/sec. Num Encoding MBs: 0. GoMem MB: 664 CMem MB: 2880
[23:28:33-0300] REDUCE 01m57s 100.00% edge_count:102.3M edge_speed:4.093M/sec plist_count:18.85M plist_speed:754.0k/sec. Num Encoding MBs: 0. GoMem MB: 702 CMem MB: 240
Writing split lists back to the main DB now
[23:28:33-0300] REDUCE 01m57s 100.00% edge_count:102.3M edge_speed:4.035M/sec plist_count:18.85M plist_speed:743.5k/sec. Num Encoding MBs: 0. GoMem MB: 717 CMem MB: 0