Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
754d120
)
now that we slide the mmap window we can use a smaller MAX_MAP_SIZE
author
Andrew Tridgell
<tridge@samba.org>
Thu, 21 May 1998 05:55:33 +0000
(
05:55
+0000)
committer
Andrew Tridgell
<tridge@samba.org>
Thu, 21 May 1998 05:55:33 +0000
(
05:55
+0000)
and thus consume less virtual memory on the sending side.
rsync.h
patch
|
blob
|
blame
|
history
diff --git
a/rsync.h
b/rsync.h
index
931f6f0
..
f98ca6a
100644
(file)
--- a/
rsync.h
+++ b/
rsync.h
@@
-50,7
+50,7
@@
#define SPARSE_WRITE_SIZE (1024)
#define WRITE_SIZE (32*1024)
#define CHUNK_SIZE (32*1024)
-#define MAX_MAP_SIZE (
4
*1024*1024)
+#define MAX_MAP_SIZE (
1
*1024*1024)
#define IO_BUFFER_SIZE (4096)
#define MAX_READ_BUFFER (1024*1024)