subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Huang <k...@azeotrope.org>
Subject Re: inodes usage of svn server
Date Wed, 03 Jan 2018 20:13:16 GMT
On 1/3/2018 13:19, Nico Kadel-Garcia wrote:
> NTFS also has limits on the maximum number of files for a filesystem.

FWIW, that limit is 2^32 - 1 files, or approximately 4 billion (see 
Table 3.12 of https://technet.microsoft.com/en-us/library/cc938432.aspx)

> There are also notable performance limits on having too many files in
> a directory.

I don't know enough about NTFS internals to say whether that's the case 
with NTFS or not, but in the context of this discussion, the default SVN 
shard size is 1000 revisions, which I don't think could be considered 
"too many files in a directory".

While I don't have any actual numbers, my gut feeling is that packing 
the repo isn't really needed on NTFS in terms of day to day performance 
of clients using the repo, or in terms of filesystem limitations. That 
said, I do it anyway because backing up the repo does go faster when 
dealing with a couple dozen large files vs. tens of thousands of small 
files.

-- 
Name: Dave Huang         |  Mammal, mammal / their names are called /
INet: khym@azeotrope.org |  they raise a paw / the bat, the cat /
Telegram: @dahanc        |  dolphin and dog / koala bear and hog -- TMBG
Dahan: Hani G Y+C 42 Y++ L+++ W- C++ T++ A+ E+ S++ V++ F- Q+++ P+ B+ PA+ 
PL++

Mime
View raw message