README 1.4 KB

123456789101112131415161718192021222324252627282930313233343536
  1. Source code for "TEEMS: Trusted Execution Environment based
  2. Metadata-protected Messaging System"
  3. This code produced the data reported in Section 6 of our paper.
  4. You will need:
  5. - A machine with one or more SGX2-enabled processors
  6. - The SGX SDK (https://github.com/intel/linux-sgx) installed (we used
  7. version 2.22)
  8. - The "numactl" program installed (even if you don't have a NUMA
  9. machine)
  10. The code is designed to run on a single machine with two 40-core
  11. processors (Intel 8380). We allocate 36 cores on each processor for the
  12. servers, and the last 4 cores on each processor for the clients.
  13. If you have a different configuration, change the cores assigned to
  14. clients by setting "prefix" in Client/clientlaunch and the -t option to
  15. clientlaunch in run_experiments.py. Change the cores assigned to
  16. servers in the gen_manifest.py program. Change the maximum number of
  17. servers for a given number of cores in the M_MAX dictionary in
  18. run_experiments.py.
  19. Decide what experiments you want to run:
  20. - Set the numbers of users (N), the numbers of servers (M), and the
  21. numbers of cores per server (T) in run_experiments.py.
  22. - Set whether you want to test the private or public channel by setting
  23. "private_routing:" in gen_manifest.py to True or False respectively.
  24. Build and run the code, and collect the output:
  25. - make
  26. - ./run_experiments.py
  27. - ./logs_to_csv.py Experiments_test results.csv