|
@@ -7,6 +7,8 @@
|
|
|
the -t option to clientlaunch below.
|
|
|
Similarly, the use of cores C0-35,40-75 for the TEEMS servers can be
|
|
|
changed in the gen_manifest.py program.
|
|
|
+ If you have a different number of cores available for servers, also
|
|
|
+ change M_MAX below.
|
|
|
'''
|
|
|
|
|
|
import subprocess
|
|
@@ -21,32 +23,38 @@ from gen_enclave_config import generate_config
|
|
|
# CONFIGS TO SET:
|
|
|
|
|
|
MANIFEST_FILE = "App/manifest.yaml"
|
|
|
-#MANIFESTS_FOLDER = "Manifests/"
|
|
|
LOG_FOLDER = "Experiments_test/"
|
|
|
-RESULT_FOLDER = "Experiment_results/"
|
|
|
|
|
|
-'''
|
|
|
# N = number of clients
|
|
|
-N = [1<<16, 1<<17, 1<<18, 1<<19, 1<<20, 1<<21]
|
|
|
# M = number of servers
|
|
|
-M = [1, 2, 3, 4, 5, 6, 7, 8, 10, 12, 14, 16, 18, 20, 24, 26, 28, 32, 36, 40, 48, 56, 64, 72]
|
|
|
# T = threads per server instance
|
|
|
-T = [2, 4, 8, 16]
|
|
|
-'''
|
|
|
|
|
|
-N = [1<<16, 1<<17, 1<<18, 1<<19, 1<<20]
|
|
|
-M = [72, 64, 48, 36, 32, 24, 16, 8, 4, 2, 1]
|
|
|
-T = [16, 8, 4, 2, 1]
|
|
|
+## A large grid of many combinations
|
|
|
+# N = [1<<16, 1<<17, 1<<18, 1<<19, 1<<20]
|
|
|
+# M = [72, 64, 48, 36, 32, 24, 16, 8, 4, 2, 1]
|
|
|
+# T = [16, 8, 4, 2, 1]
|
|
|
+
|
|
|
+## Figure 7
|
|
|
+N = [1<<15, 1<<16, 1<<17, 1<<18, 1<<19, 1<<20]
|
|
|
+M = [4]
|
|
|
+T = [1]
|
|
|
|
|
|
-# Max servers depending on number of threads
|
|
|
+## Figure 8
|
|
|
+# N = [1<<20]
|
|
|
+# M = [72, 64, 48, 36, 32, 24, 16, 8, 4, 2, 1]
|
|
|
+# T = [1]
|
|
|
+
|
|
|
+# Max servers depending on number of threads (assuming 72 available
|
|
|
+# cores for servers)
|
|
|
M_MAX = {
|
|
|
- 1:72, # 24 in M
|
|
|
- 2:36, # 19 in M
|
|
|
- 4:18, # 13 in M
|
|
|
- 8:9, # 8 in M
|
|
|
- 16:4 # 4 in M
|
|
|
+ 1:72,
|
|
|
+ 2:36,
|
|
|
+ 4:18,
|
|
|
+ 8:9,
|
|
|
+ 16:4
|
|
|
}
|
|
|
-# B = msg_size (-u)
|
|
|
+
|
|
|
+# B = message size (bytes)
|
|
|
B = 256
|
|
|
|
|
|
###############################################################################
|