Changes

Jump to navigation Jump to search
130 bytes added ,  13:36, 18 January 2017
no edit summary
Line 2: Line 2:     
TCP repair feature in the Linux kernel is supposed to help migrating a TCP socket. It's not yet complete and this page lists what is to be done.
 
TCP repair feature in the Linux kernel is supposed to help migrating a TCP socket. It's not yet complete and this page lists what is to be done.
  −
; Transitional states
  −
: Currently we support sockets in ''closed'' and ''establised'' states. However, if a socket is in e.g. ''syn-sent'' state the process of turning it into ''established'' can last long. We should teach the kernel and criu to checkpoint and restore this and other states.
  −
  −
The half-opened connections on the server side can be dropped dump-time with the <code>--skip-in-flight</code> option. This helps in heavily loaded cases when such sockets appear often.
      
; Optimized restore
 
; Optimized restore
Line 19: Line 14:  
; Shutdown sockets repair
 
; Shutdown sockets repair
 
: Need to place checks in the inet shutdown code similar to those on connect/sendmsg paths.
 
: Need to place checks in the inet shutdown code similar to those on connect/sendmsg paths.
 +
 +
 +
== Done stuff ==
 +
 +
; Transitional states
 +
: Fixed in [[Download/criu/2.10|2.10]]
 +
 +
Old description:
 +
 +
Currently we support sockets in ''closed'' and ''establised'' states. However, if a socket is in e.g. ''syn-sent'' state the process of turning it into ''established'' can last long. We should teach the kernel and criu to checkpoint and restore this and other states.
 +
 +
The half-opened connections on the server side can be dropped dump-time with the <code>--skip-in-flight</code> option. This helps in heavily loaded cases when such sockets appear often.
    
; Connection tracking
 
; Connection tracking
: The nf_conntrack thing in the kernel is about to be live-migrated too. There's currently an API for getting the conntrack info (/proc file), but no such for restoring it by hands.
+
: Fixed in [[Download/criu/2.0|2.0]]
 +
 
 +
Old description:
 +
 
 +
The nf_conntrack thing in the kernel is about to be live-migrated too. There's currently an API for getting the conntrack info (/proc file), but no such for restoring it by hands.
 +
 
    
[[Category:Plans]]
 
[[Category:Plans]]
 
[[Category:Network]]
 
[[Category:Network]]
 
[[Category:Fly in the ointment]]
 
[[Category:Fly in the ointment]]

Navigation menu