-
Notifications
You must be signed in to change notification settings - Fork 728
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CRIU: getLastRestoreTime part2 #18598
Comments
@tajila I would like to address this GitHub issue. |
@tajila could you clarify if the goal is for This process seems to start a new process that runs the java command to complete the code execution from the checkpoint. In the CRIU demo, I observe that the |
with real world applications its much larger. But, yes with a small app there wont be too much of a difference.
Thats correct, we want it to include the time taken by |
@tajila requesting your feedback on two approaches for obtaining the
The first appraoch is simpler but it is dependent on stable process relationships. The second approach is robust in dynamic process relationship scenarios but less efficient, requiring criu to support creating a file with its pid during restore. |
What about |
It seems like obtaining the process start time from
|
|
Perhaps the we need an api that get process start time of an arbritary process given a pid. This way we can query the parent of the restored process (criu restore ...). |
Get the start time of the criu restore process, which is the parent process of the restored java process. Issue: eclipse-openj9#18598 Depends-on: eclipse-omr/omr#7214 Signed-off-by: Amarpreet Singh <[email protected]>
This issue can be closed and it was addressed by: |
Currently,
InternalCRIUSupport::getLastRestoreTimeImpl
returns last restore time based on the time we collect when we resume from checkpoint. This time is inaccurate as, CRIU itself runs for roughly 30ms before it transitions to the JVM.To provide a more accurate time, we need an API that returns the CRIU restore process start time.
The text was updated successfully, but these errors were encountered: