[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: inodes usage of svn server

From: Dave Huang <khym_at_azeotrope.org>
Date: Wed, 3 Jan 2018 14:13:16 -0600

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_at_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++
Received on 2018-01-03 21:12:51 CET

This is an archived mail posted to the Subversion Users mailing list.