Re: Read-only ReiserFS support for FreeBSD 5.x

From: Jean-Sébastien Pédron <jspedron_at_club-internet.fr>
Date: Wed, 20 Oct 2004 16:14:14 +0200
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/

Received on Wed Oct 20 2004 - 12:14:25 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:18 UTC