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

Ian Goldberg ce657d2594 Correct the enclave maximum heap computation il y a 8 mois
App d1cc60bfdc Nomenclature change: public/private channels become ID/token channels il y a 8 mois
Client 99753c6c21 Turn off SHOW_RECEIVED_MESSAGES for the clients il y a 8 mois
Enclave f55843e15a More heap usage tracking in route.cpp il y a 8 mois
Untrusted 1ae94b11ed Rename ecall_authenticate to ecall_ingestion_authenticate il y a 11 mois
docker f5414b0235 Ensure sysctl fs.nr_open is set high enough in start-docker il y a 8 mois
Makefile 8a5a63878e "make clean" should clean the Client dir as well il y a 11 mois
README 5c44ca5fcd First cut at README il y a 1 an
core-time-tradeoff d1cc60bfdc Nomenclature change: public/private channels become ID/token channels il y a 8 mois
core_allocator.py 9213665c0f Automatically configure the cores to use for each experiment il y a 11 mois
epc_probe.py 1f5c8b9bdd Remove an unused import il y a 11 mois
gen_enclave_config.py ce657d2594 Correct the enclave maximum heap computation il y a 8 mois
gen_manifest.py d1cc60bfdc Nomenclature change: public/private channels become ID/token channels il y a 8 mois
logs_to_csv.py 1c6525f520 Clean up the log parser and have it record Waksman network creation times as well il y a 1 an
mkzip d1cc60bfdc Nomenclature change: public/private channels become ID/token channels il y a 8 mois
plot_traces 5313a77081 Automatically choose the horizontal scale for the trace plotter il y a 1 an
run_all_experiments.py d1cc60bfdc Nomenclature change: public/private channels become ID/token channels il y a 8 mois
run_experiments.py d1cc60bfdc Nomenclature change: public/private channels become ID/token channels il y a 8 mois
short_exp.py d1cc60bfdc Nomenclature change: public/private channels become ID/token channels il y a 8 mois

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