From owner-freebsd-current@FreeBSD.ORG Wed Oct 20 14:14:25 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 00BAE16A4CF for ; Wed, 20 Oct 2004 14:14:25 +0000 (GMT) Received: from smtp.cegetel.net (mf01.sitadelle.com [212.94.174.78]) by mx1.FreeBSD.org (Postfix) with ESMTP id 80F1B43D55 for ; Wed, 20 Oct 2004 14:14:24 +0000 (GMT) (envelope-from jspedron@club-internet.fr) Received: from [172.16.142.1] (213-223-184-193.dti.cegetel.net [213.223.184.193]) by smtp.cegetel.net (Postfix) with ESMTP id 7F2FB37BA9; Wed, 20 Oct 2004 16:14:17 +0200 (CEST) Message-ID: <417672B6.3010201@club-internet.fr> Date: Wed, 20 Oct 2004 16:14:14 +0200 From: =?ISO-8859-1?Q?Jean-S=E9bastien_P=E9dron?= User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20041006 X-Accept-Language: fr, en-us, en MIME-Version: 1.0 To: Ryan Sommers References: <417538B9.7070001@club-internet.fr> <41755FAF.8080300@colleduc.ee> <53515.208.4.77.15.1098213002.squirrel@208.4.77.15> <41763D98.5040804@club-internet.fr> <41766210.8080606@gamersimpact.com> In-Reply-To: <41766210.8080606@gamersimpact.com> X-Enigmail-Version: 0.86.1.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig16F998C24479AE6F6D84661B" Content-Transfer-Encoding: 8bit cc: freebsd-current@freebsd.org Subject: Re: Read-only ReiserFS support for FreeBSD 5.x X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Oct 2004 14:14:25 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig16F998C24479AE6F6D84661B Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Ryan Sommers wrote: > Jean-Sébastien Pédron wrote: > >> Thank you ! About performance, this current port is slower than the >> original Linux code, because it adds a few malloc() that could be >> avoided I guess. The problem is I don't know how to use the locking >> systems. > > I'm guessing this port doesn't make any use of the zone allocator? If > not, significant performance could likely be gained by using it as > opposed to simply kmalloc(9). No, it doesn't use the zone allocator. But what I meant is that here, I had to use a malloc() for each block read. On Linux, it uses the buffer returned by getblk(), but on FreeBSD, I encountered lock issues with this same buffer. That's why I currently make a copy of it. I'm sure there's a better way :-) -- Jean-Sébastien Pédron http://www.dumbbell-fr.net/ --------------enig16F998C24479AE6F6D84661B Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFBdnK7a+xGJsFYOlMRAo1iAJ9V3oHEDYgD/Orp8O6pOEcYkgDJeACeNFQL l5aAOt+QbQALOUjuA6NCdj0= =6uN/ -----END PGP SIGNATURE----- --------------enig16F998C24479AE6F6D84661B--