summaryrefslogtreecommitdiff
path: root/Documentation/config.txt
diff options
context:
space:
mode:
authorLibravatar Shawn O. Pearce <spearce@spearce.org>2007-01-04 22:28:08 -0500
committerLibravatar Junio C Hamano <junkio@cox.net>2007-01-06 10:34:56 -0800
commit22bac0ea528fd419cb833cab5de79a36fad91524 (patch)
tree4a26b03c0af37b7a2a9dd1337944c813d0a98f61 /Documentation/config.txt
parentUpdate packedGit config option documentation. (diff)
downloadtgif-22bac0ea528fd419cb833cab5de79a36fad91524.tar.xz
Increase packedGit{Limit,WindowSize} on 64 bit systems.
If we have a 64 bit address space we can easily afford to commit a larger amount of virtual address space to pack file access. So on these platforms we should increase the default settings of core.packedGit{Limit,WindowSize} to something that will better handle very large projects. Thanks to Andy Whitcroft for pointing out that we can safely increase these defaults on such systems. Signed-off-by: Shawn O. Pearce <spearce@spearce.org> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation/config.txt')
-rw-r--r--Documentation/config.txt16
1 files changed, 10 insertions, 6 deletions
diff --git a/Documentation/config.txt b/Documentation/config.txt
index 6c83829018..b24d9dff62 100644
--- a/Documentation/config.txt
+++ b/Documentation/config.txt
@@ -125,9 +125,12 @@ core.packedGitWindowSize::
more quickly. Smaller window sizes will negatively affect
performance due to increased calls to the operating system's
memory manager, but may improve performance when accessing
- a large number of large pack files. Default is 32 MiB,
- which should be reasonable for all users/operating systems.
- You probably do not need to adjust this value.
+ a large number of large pack files.
++
+Default is 1 MiB if NO_MMAP was set at compile time, otherwise 32
+MiB on 32 bit platforms and 1 GiB on 64 bit platforms. This should
+be reasonable for all users/operating systems. You probably do
+not need to adjust this value.
+
Common unit suffixes of 'k', 'm', or 'g' are supported.
@@ -136,9 +139,10 @@ core.packedGitLimit::
from pack files. If Git needs to access more than this many
bytes at once to complete an operation it will unmap existing
regions to reclaim virtual address space within the process.
- Default is 256 MiB, which should be reasonable for all
- users/operating systems, except on the largest projects.
- You probably do not need to adjust this value.
++
+Default is 256 MiB on 32 bit platforms and 8 GiB on 64 bit platforms.
+This should be reasonable for all users/operating systems, except on
+the largest projects. You probably do not need to adjust this value.
+
Common unit suffixes of 'k', 'm', or 'g' are supported.