When creating a new process, a fresh enclave is established, and all memory from the parent process is copied in bulk to the child process. Due to the large volume of data, the creation of child processes is highly time-consuming (taking approximately 30 seconds to several minutes or even longer). We propose an optimization: track modifications to each page within the process. During subsequent serialization and transfer operations, only the modified ones need to be serialized and transferred, while unmodified pages can be omitted from transmission to the child process.
When creating a new process, a fresh enclave is established, and all memory from the parent process is copied in bulk to the child process. Due to the large volume of data, the creation of child processes is highly time-consuming (taking approximately 30 seconds to several minutes or even longer). We propose an optimization: track modifications to each page within the process. During subsequent serialization and transfer operations, only the modified ones need to be serialized and transferred, while unmodified pages can be omitted from transmission to the child process.