summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2005-10-25 01:57:32 +0000
committerbescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2005-10-25 01:57:32 +0000
commit2e5e834e37fad52f4e5471117b809ce68e6e88d3 (patch)
tree5fe1c388d2ed7a6797e69c44e0132e70c98c0d57
parent2631bcf823c1b6404458478ce76b0be7f1c289e4 (diff)
downloadrdiff-backup-2e5e834e37fad52f4e5471117b809ce68e6e88d3.tar.gz
Increased buffer sizes by a factor of 4
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@650 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
-rw-r--r--rdiff-backup/CHANGELOG3
-rw-r--r--rdiff-backup/rdiff_backup/Globals.py4
2 files changed, 5 insertions, 2 deletions
diff --git a/rdiff-backup/CHANGELOG b/rdiff-backup/CHANGELOG
index 01b7c18..75f65f9 100644
--- a/rdiff-backup/CHANGELOG
+++ b/rdiff-backup/CHANGELOG
@@ -5,6 +5,9 @@ Refactored fs_abilities for more flexibility. In particular, avoid
quoting if both source and destination file systems are
case-insensitive.
+Increased buffer sizes by factor of 4, because everyone probably has 4
+times as much RAM now as when I originally picked those values.
+
When possible, fsync using a writable file descriptor. This may help
with cygwin. (Requested/tested by Dave Kempe.)
diff --git a/rdiff-backup/rdiff_backup/Globals.py b/rdiff-backup/rdiff_backup/Globals.py
index 9a34238..a0afe99 100644
--- a/rdiff-backup/rdiff_backup/Globals.py
+++ b/rdiff-backup/rdiff_backup/Globals.py
@@ -30,12 +30,12 @@ version = "$version"
current_time = None
# This determines how many bytes to read at a time when copying
-blocksize = 32768
+blocksize = 131072
# This is used by the BufferedRead class to determine how many
# bytes to request from the underlying file per read(). Larger
# values may save on connection overhead and latency.
-conn_bufsize = 98304
+conn_bufsize = 393216
# This is used in rorpiter.CacheIndexable. The number represents the
# number of rpaths which may be stuck in buffers when moving over a