Home / Companies / E2B / Blog / Post Details
Content Deep Dive

Up to 5x Faster Sandboxes

Blog post from E2B

Post Details
Company
E2B
Date Published
Author
Tereza Tizkova
Word Count
166
Language
English
Hacker News Points
-
Summary

Support for Huge Pages has been added to sandboxes, significantly accelerating the start of memory-intensive tasks by up to five times. This improvement reduces the time needed to read 0.5 GB of data from 4.9 seconds to just 0.76 seconds. Huge Pages allow for the use of 2 MiB memory chunks instead of the default 4 KiB, minimizing the overhead from frequent memory requests by allowing for fewer, larger requests. This feature is enabled by default in newly created custom sandboxes, while existing ones require a rebuild using the e2b build command in the directory with the e2b.toml file. Users interested in trying out the sandboxes can begin immediately and seek support via [email protected] if needed.