Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Jan 2012 17:04:23 -0800
From:      "David P. Discher" <dpd@bitgravity.com>
To:        Gleb Kurtsou <gleb.kurtsou@gmail.com>
Cc:        freebsd-fs@freebsd.org, Johannes Totz <jtotz@imperial.ac.uk>
Subject:   Re: fusefs broken on 8-stable?
Message-ID:  <F12574C7-B4DB-4928-BA0F-D8DC3E1ED33A@bitgravity.com>
In-Reply-To: <20111230090256.GA6796@reks>
References:  <iqj9pf$mrn$1@dough.gmane.org> <isc2ui$kq$1@dough.gmane.org> <87E5C7D5-2D73-4A42-B871-8B27448B0DD9@bitgravity.com> <20111229215125.GA8539@reks> <C2F65D41-3D0D-4453-9046-BB85AF66860B@bitgravity.com> <20111230090256.GA6796@reks>

next in thread | previous in thread | raw e-mail | index | archive | help

On Dec 30, 2011, at 1:02 AM, Gleb Kurtsou wrote:

> On (29/12/2011 14:06), David P Discher wrote:
>> Is this a straight dump for p4 ? =20
>>=20
>> Earlier this week, I checked out =
//depot/projects/soc2011/ilya_fuse/...  out of p4.  But only used the =
kmod, not the libs. Unfortunately, it was 10x slower than the 0.3.9 =
version currently in the ports tree. I never got it to the same point =
... after a few days, had only written about 6-10GB of data.
>=20
> It's the same as p4 (+ few minor tweaks). fuse-0.4 is more strict on
> resizing files which is very likely to be slow for encrypted file
> system (encfs). Try setting sysctl vfs.fuse.sync_resize=3D0.

Got this port started, however its still around 10-60x slower than the =
0.3.9 version in the ports tree.  vfs.fuse.sync_resize seemed to make no =
difference.  Granted this is a custom fusefs that I'm comparing, based =
off of bbfs (http://www.cs.nmsu.edu/~pfeiffer/fuse-tutorial/).

>=20
> I don't know all the details but there was memory leak and arbitrary
> memory corruption in old fuse. It's believed to be fixed in fuse-0.4. =
My
> guess you are hitting the same bug.

I've compared the functions in the stack the trace, and have found no =
change between 0.4.4 and 0.3.9.  If you (or anyone else on the list) =
knows what patches are the memory leak and corruption fixes are - I'd =
like to attempt to back port them into 0.3.9.  I'd like the stability =
and speed.=20


---
David P. Discher
dpd@bitgravity.com * AIM: bgDavidDPD
BITGRAVITY * http://www.bitgravity.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F12574C7-B4DB-4928-BA0F-D8DC3E1ED33A>