File tree Expand file tree Collapse file tree 5 files changed +40
-7
lines changed
Expand file tree Collapse file tree 5 files changed +40
-7
lines changed Original file line number Diff line number Diff line change 11#! /bin/bash
2- datasets=(' com-dblp.ungraph.json3' )
2+ DATASET_ALIAS=" ${1:- null} "
3+ resolve_dataset () {
4+ case " $1 " in
5+ dblp) echo " com-dblp.ungraph.json3" ;;
6+ wikipedia)
7+ echo " wikipedia.json3" ;;
8+ orkut) echo " com-orkut.ungraph.json3" ;;
9+ twitter)
10+ echo " twitter-2010.json3" ;;
11+ * )
12+ echo " Unknown dataset alias: $1 " >&2
13+ return 1
14+ ;;
15+ esac
16+ }
17+ dataset=" $( resolve_dataset " $DATASET_ALIAS " ) "
18+ datasets=($dataset )
19+
320vnum=3072627
421algms=(' get-and-add.groovy' )
522
623ratios=(0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9)
724# ratios=(0.5)
825total_ops=1000000
926
10- export LD_PRELOAD=/usr/local/lib/libjemalloc.so
27+ export LD_PRELOAD=" $(
28+ ( /sbin/ldconfig -p 2> /dev/null || /usr/sbin/ldconfig -p 2> /dev/null || ldconfig -p ) \
29+ | awk ' /libjemalloc\.so(\.|$)/{print $4; exit}'
30+ ) "
1131
1232for ds in " ${datasets[@]} "
1333do
Original file line number Diff line number Diff line change @@ -3,7 +3,10 @@ datasets=('com-dblp.ungraph.json3')
33vnum=3072627
44algms=(' basics.groovy' )
55
6- export LD_PRELOAD=/usr/local/lib/libjemalloc.so
6+ export LD_PRELOAD=" $(
7+ ( /sbin/ldconfig -p 2> /dev/null || /usr/sbin/ldconfig -p 2> /dev/null || ldconfig -p ) \
8+ | awk ' /libjemalloc\.so(\.|$)/{print $4; exit}'
9+ ) "
710
811for ds in " ${datasets[@]} "
912do
Original file line number Diff line number Diff line change 55# datasets=(ldbc.json2 freebase_large.json2)
66datasets=(ldbc.json2)
77
8- export LD_PRELOAD=/usr/local/lib/libjemalloc.so
8+ export LD_PRELOAD=" $(
9+ ( /sbin/ldconfig -p 2> /dev/null || /usr/sbin/ldconfig -p 2> /dev/null || ldconfig -p ) \
10+ | awk ' /libjemalloc\.so(\.|$)/{print $4; exit}'
11+ ) "
912
1013for ds in " ${datasets[@]} "
1114do
Original file line number Diff line number Diff line change 11#! /bin/bash
22# datasets=('twitch.json3')
33# datasets=('com-orkut.ungraph.json3')
4- datasets=(' wikipedia.json3' ' com-orkut.ungraph.json3' )
4+ datasets=(' com-dblp.ungraph.json3' )
5+ # datasets=('wikipedia.json3' 'com-orkut.ungraph.json3')
56ratios=(0.5)
67ratios=(0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9)
78# updates=(0)
89updates=(0 1 2)
910
10- export LD_PRELOAD=/usr/local/lib/libjemalloc.so
11+ export LD_PRELOAD=" $(
12+ ( /sbin/ldconfig -p 2> /dev/null || /usr/sbin/ldconfig -p 2> /dev/null || ldconfig -p ) \
13+ | awk ' /libjemalloc\.so(\.|$)/{print $4; exit}'
14+ ) "
1115
1216for ds in " ${datasets[@]} "
1317do
Original file line number Diff line number Diff line change 33# datasets=('com-orkut.ungraph.json3')
44datasets=(' com-dblp.ungraph.json3' )
55
6- export LD_PRELOAD=/usr/local/lib/libjemalloc.so
6+ export LD_PRELOAD=" $(
7+ ( /sbin/ldconfig -p 2> /dev/null || /usr/sbin/ldconfig -p 2> /dev/null || ldconfig -p ) \
8+ | awk ' /libjemalloc\.so(\.|$)/{print $4; exit}'
9+ ) "
710
811cp scripts/inmemory.groovy tmp.groovy
912
You can’t perform that action at this time.
0 commit comments