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

Ian Goldberg 1ae94b11ed Rename ecall_authenticate to ecall_ingestion_authenticate 11 месяцев назад
App 1ae94b11ed Rename ecall_authenticate to ecall_ingestion_authenticate 11 месяцев назад
Client ce01061057 Allocate space for the priority field in public routing 11 месяцев назад
Enclave 1ae94b11ed Rename ecall_authenticate to ecall_ingestion_authenticate 11 месяцев назад
Untrusted 1ae94b11ed Rename ecall_authenticate to ecall_ingestion_authenticate 11 месяцев назад
Makefile fcd39fd3a5 Add TRACE_SOCKIO tracing for client<->storage server connections 11 месяцев назад
README 5c44ca5fcd First cut at README 1 год назад
core-time-tradeoff 4139cd49db Add integer time data points to the core-time tradeoff output 1 год назад
gen_enclave_config.py 4db69d3679 Tweaks to enclave mem from Aaron's original commit for it 1 год назад
gen_manifest.py 84be84deee Experiments with small numbers of single-core servers (<= 3) for 2^20 clients don't work 1 год назад
logs_to_csv.py 1c6525f520 Clean up the log parser and have it record Waksman network creation times as well 1 год назад
mkzip 7f2dcab64b mkzip script to create the artifact zip file 1 год назад
plot_traces 5313a77081 Automatically choose the horizontal scale for the trace plotter 1 год назад
run_all_experiments.py 84be84deee Experiments with small numbers of single-core servers (<= 3) for 2^20 clients don't work 1 год назад
run_experiments.py 1b285acd68 What was called epoch_duration is really epoch_wait_time 11 месяцев назад

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