-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathgtran-conf.ini
78 lines (74 loc) · 4.48 KB
/
gtran-conf.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
# Copyright 2020 BigGraph Team @ Husky Data Lab, CUHK
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#ini file for example
#new line to end this ini
[HDFS]
HDFS_HOST_ADDRESS = master #the hostname of hdfs name node
HDFS_PORT = 9000 #the port of HDFS
HDFS_INPUT_PATH = /hdfs_path/to/input/
HDFS_INDEX_PATH = /hdfs_path/to/input/index/
HDFS_VTX_SUBFOLDER = /hdfs_path/to/input/vertices/
HDFS_VP_SUBFOLDER = /hdfs_path/to/input/vtx_property/
HDFS_EP_SUBFOLDER = /hdfs_path/to/input/edge_property/
HDFS_OUTPUT_PATH = /hdfs_path/to/input/output/
[SYSTEM]
ISOLATION_LEVEL = SERIALIZABLE # i.e., SERIALIZABLE or SNAPSHOT
NUM_THREADS = 20 # num of local computing threads
NUM_GC_CONSUMER = 2 # num of threads to execute GC
NUM_PARSER_THREADS = 2 # num of threads to process query parser, suggested value: 1 or 2
VTX_P_KV_SZ_GB = 2 # the size of KVS allocated for VTX Property, unit in #GB
EDGE_P_KV_SZ_GB = 1 # the size of KVS allocated for EDGE Property, unit in #GB
PER_SEND_BUF_SZ_MB = 2 # the size of send-buff for each thread, unit in #MB
PER_RECV_BUF_SZ_MB = 64 # the size of recv-buff for each worker, unit in #MB
VE_ROW_POOL_SIZE = 20000000 # the capacity of ConcurrentMemPool<VertexEdgeRow> in data store
VP_ROW_POOL_SIZE = 12000000 # the capacity of ConcurrentMemPool<VertexPropertyRow> in data store
EP_ROW_POOL_SIZE = 15000000 # the capacity of ConcurrentMemPool<EdgePropertyRow> in data store
V_MVCC_POOL_SIZE = 10000000 # the capacity of ConcurrentMemPool<VertexMVCCItem> in data store
E_MVCC_POOL_SIZE = 100000000 # the capacity of ConcurrentMemPool<EdgeMVCCItem> in data store
VP_MVCC_POOL_SIZE = 80000000 # the capacity of ConcurrentMemPool<VPropertyMVCCItem> in data store
EP_MVCC_POOL_SIZE = 20000000 # the capacity of ConcurrentMemPool<EPropertyMVCCItem> in data store
PREDICT_CONTAINER_USAGE = true # to output the prediction of the size of above ConcurrentMemPools, please do not set to false unless you know what you do
TRX_TABLE_SZ_MB = 1024 # the size of TransactionStatusTable allocated on each worker
USE_RDMA = true # if enable RDMA, set false to use TCP for commun
ENABLE_MEM_POOL_UTILIZATION_RECORD = true # to set if report the mem pool util during GC
ENABLE_CACHE = true #if enable cache in experts of transaction processing
ENABLE_CORE_BIND = true #if enable core-bind, see more details in our Grasper proj
ENABLE_EXPERT_DIVISION = true #if enable expert division for logical thread regions, only useful when core-bind is on.
ENABLE_STEP_REORDER = true #if enable query-step reorder for query optimization
ENABLE_INDEXING = true #if enable index construction
ENABLE_STEALING = true #if enable index construction
ENABLE_GARBAGE_COLLECT = true #if enable GC, please do not set to false unless you know what you do
ENABLE_OPT_PREREAD = true #if enable OPT(pre-read) in our transaction processing protocol, please do not set to false unless you know what you do
ENABLE_OPT_VALIDATION = true #if enable OPT(optimistic-validation) in our transaction processing protocol, please do not set to false unless you know what you do
MAX_MSG_SIZE = 65536 #(bytes), the upper-bound of message size for splitting
SNAPSHOT_PATH = ~/tmp/gtran_snapshot # the local path to store the graph snapshot on disk, to avoid repeatedly data loading when reboot the system.
[GC]
#TODO(Aaron), fill in the annotations for the below variables
ERASE_V_T_THRESHOLD = 1000
ERASE_OUTE_T_THRESHOLD = 2000
ERASE_INE_T_THRESHOLD = 2000
VMVCC_GC_T_THRESHOLD = 2000
VPMVCC_GC_T_THRESHOLD = 2000
EPMVCC_GC_T_THRESHOLD = 2000
EMVCC_GC_T_THRESHOLD = 2000
TOPO_ROW_GC_T_THRESHOLD = 2000
TOPO_ROW_DEFRAG_T_THRESHOLD = 2000
VP_ROW_GC_T_THRESHOLD = 2000
VP_ROW_DEFRAG_T_THRESHOLD = 2000
EP_ROW_GC_T_THRESHOLD = 2000
EP_ROW_DEFRAG_T_THRESHOLD = 2000
TOPO_INDEX_GC_RATIO = 50
PROP_INDEX_GC_RATIO = 20
PROP_INDEX_GC_T_THRESHOLD = 100
RCT_GC_T_THRESHOLD = 100