Skip to content
  • Thomas Thrainer's avatar
    Optimize dd parameters for instances moves · a986a581
    Thomas Thrainer authored
    
    
    Benchmarks have shown that increasing the buffer size and disabling
    synchronous output increased the throughput by about 10MiB/s, so make
    those parameters the default.
    
    Note that not using sync for output doesn't increase the risk of data
    loss, as the data will remain on the source node anyway if an error
    occurs during the move. This change, and increasing the block size to 1
    MiB, didn't increase the memory consumption of dd during the move
    operation significantly.
    
    Signed-off-by: default avatarThomas Thrainer <thomasth@google.com>
    Reviewed-by: default avatarKlaus Aehlig <aehlig@google.com>
    a986a581