-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathTODO
59 lines (28 loc) · 1.5 KB
/
TODO
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
Tasks:
Demo programs:
Elastic Search
Serverless
Features:
Java API:
Check() => Verify that Checkpointing is enabled in your kernel and working properly.
Check to see if your current JVM has any issues (open sockets etc).
Save() => Runs Hooks, Runs CRIU dump.
SaveIncremental() => Saves just the changes since the last Save()/SaveIncremental().
Restore() => Restores a saved Image using CRIU restore.
AddCheckpointHook(Hook h) => run h method at checkpoint.
AddRestoreHook(Hook h) => run h method at restore.
Tasks:
Figure out if Hooks are interfaces or Lambdas.
Implement System Hooks:
GC/shrink the heap and then reinflating it.
Shutdown workstealing thread pools and re-establish with an appropriate number of threads based on number of available processors.
Implement User example hooks:
Clear certificates and then re-establish them
Clearing connections and then restoring them.
Hot Swapping Garbage Collection Algorithms just before checkpointing. Warmup and rampup with ParallelGC, checkpoint/restore with epsilon. Give memory for card tables etc back before checkpoint.
Optimize heap layout. Use hardware monitors to determine false cache line sharing and pad data structures before checkpointing.
Bugs/Issues:
What to do about missing library entries.
How to accomodate perf
How to accomodate parallelGC
What to do about /var/lib/sss/pipes/nss