-
Notifications
You must be signed in to change notification settings - Fork 3
/
tc.conf
92 lines (70 loc) · 2.3 KB
/
tc.conf
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
79
80
81
82
83
84
85
86
87
88
89
90
91
%% options = reader | writer | create | truncate |
%% { leaf_members, integer () } |
%% { non_leaf_members, integer () } |
%% { bucket_array_size, integer () } |
%% { record_alignment, integer () } |
%% { free_block_pool, integer () } |
%% { leaf_node_cache, integer () } |
%% { nonleaf_node_cache, integer () } |
%% { bloom, Name::iodata (), Bytes::integer (), Hashes::integer () } |
%% large | small |
%% uncompressed | deflate | tcbs |
%% nolock | lock_nonblocking | lock |
%% raw | term_store
%% the settings specified here will override the default settings
%% only table user properties atm
{account,[{ leaf_node_cache, 5000}, { nonleaf_node_cache,1 }, {deflate, true}]}.
{history,[{ leaf_node_cache, 5000}, { nonleaf_node_cache,1 }, {deflate, true}]}.
{teller,[]}.
{branch,[]}.
%% ++++++++++ NO CONFIG BELOW, JUST NOTES ++++++++++++++++++++++++++++++
%% -- Notes
% i got high performance with these settings:
%{ leaf_node_cache, 100000}.
%{deflate, true}.
%% -------- some results -----------------------------------------------
%% 1246 tps
%{ leaf_node_cache, 2048}.% 2 bsl 10
%{ nonleaf_node_cache, 2048 }.
%{deflate, true}.
%% 1193 tps
%%{ leaf_node_cache, 2147483648}.% 2 bsl 30
%%{ nonleaf_node_cache, 2147483648 }.
%%{deflate, true}.
%% 2309 tps
%{ leaf_node_cache, 2097152}. % 2 bsl 20
%{ nonleaf_node_cache, 2097152 }.
%{deflate, true}.
% 2298 tps
%{ leaf_node_cache, 67108864}. % 2 bsl 25
%{ nonleaf_node_cache, 67108864 }.
%{deflate, true}.
% 2298 tps
%{ leaf_node_cache, 65536}. % 2 bsl 15
%{ nonleaf_node_cache, 65536 }.
%{deflate, true}.
%% 2272 tps
%{ leaf_node_cache, 65536}. % 2 bsl 15
%{ nonleaf_node_cache, 65536 }.
%{deflate, true}.
%% 2331 tps
%{ leaf_node_cache, 100000}.
%{ nonleaf_node_cache, 100000}.
%{deflate, true}.
% 2320 tps
%{ leaf_node_cache, 100000}.
% %{ nonleaf_node_cache, }. default
%{deflate, true}.
%1102 tps
%{ leaf_node_cache, 0}.
% %{ nonleaf_node_cache, }. default
%{deflate, true}.
% 915 tps
%{ leaf_node_cache, 1}.
%%{ nonleaf_node_cache, 1 }.
%{deflate, true}.
%%2183 tps
% 2320 (4hrs)
%{ leaf_node_cache, 100000}.
% %{ nonleaf_node_cache, }. default
%{deflate, true}.