Skip to content

Commit 6e0fc13

Browse files
vinser52byrnedj
authored andcommitted
Aadding new configs to hit_ratio/graph_cache_leader_fobj
-updated configs for numa bindings
1 parent 772508e commit 6e0fc13

File tree

4 files changed

+120
-4
lines changed

4 files changed

+120
-4
lines changed
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{
2+
"cache_config": {
3+
"cacheSizeMB": 8192,
4+
"poolRebalanceIntervalSec": 0,
5+
"cacheDir": "/tmp/mem-tiers",
6+
"memoryTiers" : [
7+
{
8+
"ratio": 1,
9+
"memBindNodes": 0
10+
},
11+
{
12+
"ratio": 1,
13+
"memBindNodes": 0
14+
}
15+
]
16+
},
17+
"test_config":
18+
{
19+
"addChainedRatio": 0.0,
20+
"delRatio": 0.0,
21+
"enableLookaside": true,
22+
"getRatio": 0.7684563460126871,
23+
"keySizeRange": [
24+
1,
25+
8,
26+
64
27+
],
28+
"keySizeRangeProbability": [
29+
0.3,
30+
0.7
31+
],
32+
"loneGetRatio": 0.2315436539873129,
33+
"numKeys": 71605574,
34+
"numOps": 5000000,
35+
"numThreads": 24,
36+
"popDistFile": "pop.json",
37+
38+
"setRatio": 0.0,
39+
"valSizeDistFile": "sizes.json"
40+
}
41+
42+
}
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"cache_config": {
3+
"cacheSizeMB": 8192,
4+
"poolRebalanceIntervalSec": 0,
5+
"cacheDir": "/tmp/mem-tier"
6+
},
7+
"test_config":
8+
{
9+
"addChainedRatio": 0.0,
10+
"delRatio": 0.0,
11+
"enableLookaside": true,
12+
"getRatio": 0.7684563460126871,
13+
"keySizeRange": [
14+
1,
15+
8,
16+
64
17+
],
18+
"keySizeRangeProbability": [
19+
0.3,
20+
0.7
21+
],
22+
"loneGetRatio": 0.2315436539873129,
23+
"numKeys": 71605574,
24+
"numOps": 5000000,
25+
"numThreads": 24,
26+
"popDistFile": "pop.json",
27+
28+
"setRatio": 0.0,
29+
"valSizeDistFile": "sizes.json"
30+
}
31+
32+
}
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
{
2+
"cache_config": {
3+
"cacheSizeMB": 8192,
4+
"poolRebalanceIntervalSec": 0,
5+
"cacheDir": "/tmp/mem-tier",
6+
"memoryTiers" : [
7+
{
8+
"ratio": 1,
9+
"memBindNodes": 0
10+
}
11+
]
12+
},
13+
"test_config":
14+
{
15+
"addChainedRatio": 0.0,
16+
"delRatio": 0.0,
17+
"enableLookaside": true,
18+
"getRatio": 0.7684563460126871,
19+
"keySizeRange": [
20+
1,
21+
8,
22+
64
23+
],
24+
"keySizeRangeProbability": [
25+
0.3,
26+
0.7
27+
],
28+
"loneGetRatio": 0.2315436539873129,
29+
"numKeys": 71605574,
30+
"numOps": 5000000,
31+
"numThreads": 24,
32+
"popDistFile": "pop.json",
33+
34+
"setRatio": 0.0,
35+
"valSizeDistFile": "sizes.json"
36+
}
37+
38+
}

cachelib/cachebench/test_configs/simple_tiers_test.json

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,18 @@
11
// @nolint instantiates a small cache and runs a quick run of basic operations.
22
{
33
"cache_config" : {
4-
"cacheSizeMB" : 512,
5-
"usePosixShm" : false,
4+
"cacheSizeMB" : 1024,
65
"cacheDir" : "/tmp/mem-tiers",
76
"memoryTiers" : [
7+
{
8+
"ratio": 1,
9+
"memBindNodes": "0"
10+
},
811
{
912
"ratio": 1,
1013
"memBindNodes": "0"
1114
}
15+
1216
],
1317
"poolRebalanceIntervalSec" : 1,
1418
"moveOnSlabRelease" : false,
@@ -19,7 +23,7 @@
1923
"test_config" : {
2024
"numOps" : 100000,
2125
"numThreads" : 32,
22-
"numKeys" : 1000000,
26+
"numKeys" : 2000000,
2327

2428
"keySizeRange" : [1, 8, 64],
2529
"keySizeRangeProbability" : [0.3, 0.7],
@@ -33,4 +37,4 @@
3337
"keyPoolDistribution": [0.4, 0.6],
3438
"opPoolDistribution" : [0.5, 0.5]
3539
}
36-
}
40+
}

0 commit comments

Comments
 (0)