This publication describes systems and techniques to implement virtual memory to swap memory regions, such as memory pages, between a resource-constrained electronic device and cloud storage. Many “always-connected” or internet of things (IoT) devices are resource constrained such that dynamic random-access memory (DRAM) and flash memory are significantly limited. Excessive write operations can also reduce a usable lifetime of the flash memory. For cloud-based virtual memory, pages corresponding to working sets of more important applications are maintained in DRAM at the device. In contrast, a virtual memory system moves memory pages that are used less frequently based on some metric (e.g., least recently used (LRU)) from the DRAM to cloud storage that is located at a remote server. The virtual memory system may compress the memory pages to save transmission and/or storage bandwidth. The remote pages may also be updated without moving them back to the device. In this manner, an electronic device can have more or larger active applications without over-consuming DRAM or increasing wear on the flash memory.

Creative Commons License

Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 License.