FreeBSD 9.1-RC1 Available...

Simon L. B. Nielsen simon at FreeBSD.org
Sat Aug 25 09:44:08 UTC 2012


[Removing re@]

On 25 Aug 2012, at 10:33, Harald Schmalzbauer <h.schmalzbauer at omnilan.de> wrote:

> schrieb Peter Wemm am 24.08.2012 00:14 (localtime):
>> ...
>> You'll also find out very quickly how much fsync(2) hurts on a softdep
>> or su+j system.  The svn fsfs backend does a fsync multiple times per
>> revision to guarantee its transaction boundaries.
> 
> Not only on softdep ufs, also with zfs I'm seeing big performance
> regressions (checkout ports from one zfs holding svnsynced repo to
> another on the same pool takes hours with svn, while completed in less
> than half an hour with csup)
> But my real problem is that svn is not in the base system. And for
> example installing subversion package on my cvsup mirror failed because
> pkg-config-0-25_1 was installed and sqlite, a dependency of subversion,
> wants to install pkgconf-0.8.5. So I'm hit by the henn-egg problem. I
> hope I can build subversion (sqlite) with pkg-config-0 dependency, but
> right now I still have to wait for this awful slow svn checkout (svn co
> file:///svn/repos/mirror/ports/head /usr/ports/)
> 
> Can someone share any sensible tuning for svn and zfs?
> 
> Is it possible to build any svn compatible (checkout-only-capable)
> binary without that much dependencies? If so, I hope this will be in the
> base very soon.

If you are going to do checkouts from svn:// only you can disable Neon which should reduce the dependency chain some. I haven't found svn checkouts to be too slow most of the time, but of course I'm generally using systems with hardware RAID controller which likely helps some.

PS. I don't think you should expect svn in base - it has too many dependencies, options, and is too fast moving to sanely be in the base system.

-- 
Simon L. B. Nielsen



More information about the freebsd-stable mailing list