Re: File descriptor leak of rep-cache.db in 1.6.x
From: Dan Villiom Podlaski Christiansen <danchr_at_gmail.com>
Date: Thu, 3 Jun 2010 19:27:20 +0200
On 3 Jun 2010, at 18:39, Hyrum K. Wright wrote:
> On Thu, Jun 3, 2010 at 11:26 AM, Dan Villiom Podlaski Christiansen <danchr_at_gmail.com> wrote:
Having this fix in 1.6.12 would be great. How far off is 1.6.12?
> > If converting a repository is a bit like "svnadmin dump" then it may
FWIW this BDB slowness appeared exclusive to my Mac; the dump-and-load went much faster on my FreeBSD VPS.
> For what it's worth, we also get massive leaks with the SWIG bindings when cloning/converting over the network. I'm sure this isn't the only cause of those leaks :)
We're using the Python SWIG bindings. Some statistics:
BDB repository w. Subvertpy:
FSFS repository w. Subvertpy:
BDB repository w. SWIG:
FSFS repository w. SWIG:
Based on this I would say that BDB repositories appear to not leak much when using Subvertpy. Everything else leaks quite a lot. Granted, there is a significant CPU overhead in Subvertpy, but I believe its much cleaner API and better memory handling compensate for that. Besides, many people using hgsubversion will have their conversions I/O bound rather CPU bound.
-- Dan Villiom Podlaski Christiansen danchr_at_gmail.com
This is an archived mail posted to the Subversion Dev mailing list.