backups: increase buffer size for better performance

After this change the bottleneck is qrexec throughput.
This commit is contained in:
Marek Marczykowski-Górecki 2013-11-24 03:44:30 +01:00
parent c64b6c04ce
commit 5477aea877

View File

@ -1229,7 +1229,7 @@ def backup_do_copy(base_backup_dir, files_to_backup, passphrase, progress_callba
'''
def wait_backup_feedback(progress_callback, in_stream, streamproc, backup_target, total_backup_sz, hmac=None, vmproc=None, addproc=None, remove_trailing_bytes=0):
buffer_size = 4096
buffer_size = 409600
run_error = None
run_count = 1