The implementation of TEEMS, a Trusted Execution Environment based Metadata-protected Messaging System

Ian Goldberg 7b90bbebdb Report results meaningfully when SHRINK_TO_MEM and/or OVERLOAD_CORES are set to 1 10 mesi fa
App 1ae94b11ed Rename ecall_authenticate to ecall_ingestion_authenticate 11 mesi fa
Client 9213665c0f Automatically configure the cores to use for each experiment 11 mesi fa
Enclave ecd5711f3e Address the TODO from the "extra 5 bytes" commit above 11 mesi fa
Untrusted 1ae94b11ed Rename ecall_authenticate to ecall_ingestion_authenticate 11 mesi fa
docker 7b90bbebdb Report results meaningfully when SHRINK_TO_MEM and/or OVERLOAD_CORES are set to 1 10 mesi fa
Makefile 8a5a63878e "make clean" should clean the Client dir as well 11 mesi fa
README 5c44ca5fcd First cut at README 1 anno fa
core-time-tradeoff 4139cd49db Add integer time data points to the core-time tradeoff output 1 anno fa
core_allocator.py 9213665c0f Automatically configure the cores to use for each experiment 11 mesi fa
epc_probe.py 1f5c8b9bdd Remove an unused import 11 mesi fa
gen_enclave_config.py dc2c4f3c38 Update gen_enclave_config to track the updated buffer sizes 11 mesi fa
gen_manifest.py 9213665c0f Automatically configure the cores to use for each experiment 11 mesi fa
logs_to_csv.py 1c6525f520 Clean up the log parser and have it record Waksman network creation times as well 1 anno fa
mkzip 7f2dcab64b mkzip script to create the artifact zip file 1 anno fa
plot_traces 5313a77081 Automatically choose the horizontal scale for the trace plotter 1 anno fa
run_all_experiments.py c781321dd7 Update the EPC cutoffs to meach the new (lower) EPC memory requirements 11 mesi fa
run_experiments.py 13571fe1c5 Take "EXPERIMENT" out of full caps 10 mesi fa
short_exp.py ad7b01c95c Script and docker wrapper for a short "kick-the-tires" test 10 mesi fa

README

Source code for "TEEMS: Trusted Execution Environment based
Metadata-protected Messaging System"

This code produced the data reported in Section 6 of our paper.

You will need:

- A machine with one or more SGX2-enabled processors
- The SGX SDK (https://github.com/intel/linux-sgx) installed (we used
version 2.22)
- The "numactl" program installed (even if you don't have a NUMA
machine)

The code is designed to run on a single machine with two 40-core
processors (Intel 8380). We allocate 36 cores on each processor for the
servers, and the last 4 cores on each processor for the clients.

If you have a different configuration, change the cores assigned to
clients by setting "prefix" in Client/clientlaunch and the -t option to
clientlaunch in run_experiments.py. Change the cores assigned to
servers in the gen_manifest.py program. Change the maximum number of
servers for a given number of cores in the M_MAX dictionary in
run_experiments.py.

Decide what experiments you want to run:

- Set the numbers of users (N), the numbers of servers (M), and the
numbers of cores per server (T) in run_experiments.py.
- Set whether you want to test the private or public channel by setting
"private_routing:" in gen_manifest.py to True or False respectively.

Build and run the code, and collect the output:

- make
- ./run_experiments.py
- ./logs_to_csv.py Experiments_test results.csv