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

Re: Re: enhancement suggestion

From: Johan Corveleyn <jcorvel_at_gmail.com>
Date: Fri, 13 Apr 2018 13:58:42 +0200

[ Hi Christian, please keep the mailinglist in cc, i.e. use Reply All.
Also, we prefer plain-text emails on this list, of possible. More
below ...]

On Wed, Apr 11, 2018 at 9:53 AM, Christian Klie <cklie_at_gmx.de> wrote:
>> What SVN version is the server?
>> What SVN version is the client?
> Both are version 1.9.7 (r1800392).
>
>> What version of back-end filesystem on the server (BDB or FSFS, which
>> version)?
> Path: .
> UUID: 6baea231-e241-2848-b57a-28e303214589
> Repository Format: 5
> Compatible With Version: 1.9.0
> Repository Capability: mergeinfo
> Filesystem Type: fsfs
> Filesystem Format: 7
> FSFS Sharded: yes
> FSFS Shard Size: 1000
> FSFS Shards Packed: 0/0
> FSFS Logical Addressing: yes
> Configuration File: db\fsfs.conf
>
>
>> Which version of Windows?
> Windows 10
>> Anything special about that disk?
> Format is exFAT

Okay, that probably explains your problem.

As Branko also said on this thread (but you might have missed it, he
replied only to the list, so if you aren't subscribed ...):

On Tue, Feb 20, 2018 at 4:29 PM, Branko Čibej <brane_at_apache.org> wrote:
> On 20.02.2018 15:59, Johan Corveleyn wrote:
...
>> So the directory 5-6.txn below db/transactions showed:
>> - Number of files: 244295 (0 folders)
>> - Size: 88.6 MB
>> - Size on disk: 29.8 GB
>> (Wow, that's huge! For only 88.6 MB of data in 244295 files, that's a
>> factor of more than 300 compared to the actual data size)
>
> 344 exactly. The filesystem cluster is 128 KiB and the average file size
> is 380 bytes. The cluster (allocation unit) size is quite large, which
> suggests it may not be NTFS, or it is a really humongously huge volume. See:
>
> https://support.microsoft.com/en-gb/help/140365/default-cluster-size-for-ntfs-fat-and-exfat

If you go to the page linked above, you'll see at the bottom that the
default cluster size for exFAT is 128 KB if your volume is 32 GB or
larger. So this extremely large "size on disk" for so little actual
data is expected, and is caused by the configuration of your
filesystem. As Branko said, the easiest fix is to fix your filesystem.
Either switch to NTFS or some other filesystem, or if you really
*must* use exFAT, try to format the drive with a smaller cluster size
(I suppose 128 KB is the default, but you can still use a smaller
setting if you deviate from the default -- that's just a guess, I
don't know exFAT).

-- 
Johan
Received on 2018-04-13 13:59:15 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.