Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request codes for memcached #3

Open
Bonjourz opened this issue Sep 10, 2019 · 4 comments
Open

Request codes for memcached #3

Bonjourz opened this issue Sep 10, 2019 · 4 comments

Comments

@Bonjourz
Copy link

You have mentioneed "Graphene with Eleos RPC: Will be made available shortly" in the README. But I can't get them now... Could you please tell me where the codes is?

I guess the codes is located at https://github.com/acsl-technion/graphene/tree/eleos, am I right?

Thanks!

@shmeni
Copy link
Collaborator

shmeni commented Sep 10, 2019

Indeed. I've updated the README file with the appropriate link.
Also, note that there are under-review PRs at the main Graphene-SGX repo for the RPC code. This can be more useful since the are integrated with a more up-to-date version of Graphene's code.
gramineproject/graphene#405
gramineproject/graphene#235

@Bonjourz Bonjourz reopened this Sep 11, 2019
@Bonjourz
Copy link
Author

Hi, In the eleOS paper:

We modify memcached to use SUVM (75 LOC changed), and run it in enclave using the Graphene library OS , enhanced with Eleos’s RPC mechanism for faster system calls.
That means you modified the Graphene-SGX to support exitless RPC and the memcached to support SUVM.

But the repository you have mentioned above(https://github.com/acsl-technion/graphene/tree/eleos), I only see the modification on the Graphene-SGX, and nothing to do with memcached...

Could you please provide the codes of the modified memcached?

Thanks!

@shmeni
Copy link
Collaborator

shmeni commented Sep 11, 2019

The memcached modifications were only tested for the experiments described in the Eleos paper and are likely unstable. Instead of publishing them we offer the option to use SUVM with an automatically instrumented memcached using a Cosmix. See the following link for the memcached sample code: https://github.com/acsl-technion/cosmix/tree/master/samples/memcached

Cosmix is engineered to be robust and is compatible with newer Graphene-SGX versions or other SGX frameworks such as SCONE, Anjuna, etc. In our experience it makes running memcached and other complex applications with SUVM much easier.

@Bonjourz
Copy link
Author

I got it!

Thanks for your detailed explanation!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants