Skip to content

Likun/upf ws restore - #2

Open
Liquidzk wants to merge 6 commits into
mainfrom
likun/upf-ws-restore
Open

Likun/upf ws restore#2
Liquidzk wants to merge 6 commits into
mainfrom
likun/upf-ws-restore

Conversation

@Liquidzk

@Liquidzk Liquidzk commented Jul 21, 2026

Copy link
Copy Markdown
Owner

Summary

Follow-up to vhive-serverless#1221. This PR restores UPF working-set recording and replay.

Implementation Notes ⚒️

  • Stores working-set pages and traces as snapshot artifacts.
  • Installs the recorded working set during subsequent snapshot restores.
  • Adds tests for recording and replaying working sets across different VM instances.

The legacy working-set design relied on VM-local in-memory state and did not fit revision-based restores. This implementation therefore:

  • Stores artifacts by revision snapshot instead of VM ID.
  • Persists versioned trace metadata for reuse across VM instances.
  • Uses Firecracker mappings and page sizes for address translation.
  • Validates and atomically replaces working-set artifacts.

External Dependencies 🍀

N/A

Breaking API Changes ⚠️

N/A

Liquidzk added 5 commits July 21, 2026 14:18
Signed-off-by: Liquidzk <492928615@qq.com>
Signed-off-by: Liquidzk <492928615@qq.com>
Signed-off-by: Liquidzk <492928615@qq.com>
Signed-off-by: Liquidzk <492928615@qq.com>
Signed-off-by: Liquidzk <492928615@qq.com>
@Liquidzk
Liquidzk force-pushed the likun/upf-ws-restore branch from 32bce33 to 6d56829 Compare July 26, 2026 15:39
Signed-off-by: Liquidzk <492928615@qq.com>
@Liquidzk
Liquidzk force-pushed the likun/upf-ws-restore branch from 6d56829 to f82cee6 Compare July 26, 2026 16:07
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

Successfully merging this pull request may close these issues.

1 participant