From owner-freebsd-stable@FreeBSD.ORG Tue Jan 31 10:52:01 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 00ECF1065672 for ; Tue, 31 Jan 2012 10:52:01 +0000 (UTC) (envelope-from ml@os2.kiev.ua) Received: from s1.sdv.com.ua (unknown [IPv6:2a01:d0:ffff:1f8::2]) by mx1.freebsd.org (Postfix) with ESMTP id 961808FC26 for ; Tue, 31 Jan 2012 10:52:00 +0000 (UTC) Received: from 94-105-243-80.cust.centrio.cz ([80.243.105.94] helo=[192.168.101.203]) by s1.sdv.com.ua with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.76 (FreeBSD)) (envelope-from ) id 1RsBJZ-000LWP-Eb; Tue, 31 Jan 2012 12:51:58 +0200 Message-ID: <4F27C7C7.3060807@os2.kiev.ua> Date: Tue, 31 Jan 2012 11:51:51 +0100 From: Alex Samorukov User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:9.0) Gecko/20111229 Thunderbird/9.0 MIME-Version: 1.0 To: Harald Schmalzbauer References: <4F215A99.8020003@os2.kiev.ua> <4F27C04F.7020400@omnilan.de> In-Reply-To: <4F27C04F.7020400@omnilan.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-SA-Score: -1.0 Cc: freebsd-stable@freebsd.org Subject: Re: disk devices speed is ugly X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Jan 2012 10:52:01 -0000 On 01/31/2012 11:19 AM, Harald Schmalzbauer wrote: > schrieb Alex Samorukov am 26.01.2012 14:52 (localtime): >> Hi, >> >> I ported exfat fuse module to FreeBSD (PR 164473) and found that it >> works much slower then on Linux. I found 2 reasons for this: >> > Thanks a lot! I saw the new port :-) > Hope that someone can help you improove fusefs-kmod. I remember more > porters were blaming FreeBSDs fusefs support making their work > hard/impossible (TrueCrypt). Hopefully some kernel hacker will read and > help... Thank you for comment. It is now mostly not about fuse itself, but about non-buffered raw device access. I really think that something like improved geom_cache should solve this. I`ll add soon updated version of the patch with [optional] libublio support. This improves performance a lot. Read speed is comparable with Linux (about 20 Mb/sec on my old USB) and write is much faster aw well (but not so good as in Linux and with a lot read requests for align). Also i contacted upstream about unaligned writes and he told that it is in his todo list, but probably after 1.0.0 version, because it will require a lot of changes in the code. Also i found a libexfat bug in a fat time handling and creating patch to use freebsd code for this instead. So if you are using exfat any testing and comments are welcome.