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

Re: Space wasting

From: Marc Haisenko <haisenko_at_webport.de>
Date: 2004-03-08 12:18:02 CET

The additional wasted space you've encountered is heavily dependend on the
filesystem used and the block size it's using.

To make a long story short: filesystems normally don't count in bytes but in
blocks. If your fs is using 4kB blocks each file is in fact a multiple of 4kB
on the disc, even if your OS reports the payload size.

If you've got lots of small files (and 25544 in just 69MB is LOTS of small
files) the loss through this can be quite big if your FS can't compensate
this (many UNIX filesystems can do this, though some like ext2fs require that
you enable this option, AFAIK).

So if you're using just one big file you'd discover that this one would use up
almost exactly double the space in your working copy.

C'ya,
        Marc

-- 
Marc Haisenko
Systemspezialist
Webport IT-Services GmbH
mailto: haisenko@webport.de
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Mar 8 12:14:41 2004

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

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