No pingpong page migration due to IsPinned #97
Unanswered
kingjunsung
asked this question in
Q&A
Replies: 1 comment
-
This is not easy due to deadlock prevention requirements. It is likely that one page is migrated to the destination, and before the read can actually happen, is being migrated to another GPU. So, to guarantee forward progress, we pin pages after the first migration. Another way to support continuous page migration is to pin the page for a while before it can be migrated. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Dear Mr. Sun,
I am currently working on implementing a baseline where the same page migrates back and forth among multiple GPUs. However, I have encountered an issue in the mmu.go code. After the initial migration is performed, the page becomes pinned in a first-touch manner, preventing any further migrations (I guess due to "page.IsPinned" variable). When I comment out the isPinned code and run the application, most of the applications fail to execute properly. Could you please advise on how to enable continuous page migrations without the page being pinned after the first migration?
Beta Was this translation helpful? Give feedback.
All reactions