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

Upstream SGX Async I/O #447

Open
MoSalemIb opened this issue May 22, 2023 · 3 comments
Open

Upstream SGX Async I/O #447

MoSalemIb opened this issue May 22, 2023 · 3 comments
Assignees
Milestone

Comments

@MoSalemIb
Copy link
Collaborator

Calling userspace from an SGX enclave is very slow. It’s much faster to copy data out of the enclave and let it be picked up (asynchronously) by a userspace thread. Similarly the response can be returned by placing it in a return queue in userspace. That avoids that the enclave needs to be exited. Mohzen has worked on this and we use it in production. Most of the code however is in a feature branch. Yuxiang recently also took a look at this, and I started reviewing his updated branch, but this work has been paused for now until the mbedtls work is completed.

@BelalH BelalH added this to the Seeds milestone Jul 19, 2023
@BelalH
Copy link
Collaborator

BelalH commented Jul 21, 2023

PR: #404

@raoulstrackx
Copy link
Contributor

PR: #404

There's another PR based on that one: #441

@BelalH
Copy link
Collaborator

BelalH commented Sep 20, 2023

  1. finish the PR review
  2. create new tickets (improvements we found during the review)
  3. test new async io internally
    a. test before new crate
    b. test after the new crate
  4. RELEASE

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

No branches or pull requests

4 participants