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

Implement and check optimizations #7

Open
enjhnsn2 opened this issue Jul 26, 2021 · 1 comment
Open

Implement and check optimizations #7

enjhnsn2 opened this issue Jul 26, 2021 · 1 comment

Comments

@enjhnsn2
Copy link
Collaborator

After the baseline verified runtime is completed, we will implement some optimizations and show that these optimizations preserve our safety properties. I will list out some potential optimizations as I think of them.

  1. For system calls that use a mutable buffer (i.e., write), let the os copy data directly into the sandbox.
  2. Use mmap instead of vector initialization to set up sandbox memory (faster startup).
@enjhnsn2
Copy link
Collaborator Author

enjhnsn2 commented Jul 26, 2021

  1. Prove that sandbox memory and runtime memory are non-overlapping so we can use Rust's extra-fast copy optimization copy_nonoverlapping (memcpy) instead of copy (memmove)

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

1 participant