From owner-freebsd-current@FreeBSD.ORG Thu Jan 24 10:02:18 2008 Return-Path: Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DE26016A469 for ; Thu, 24 Jan 2008 10:02:18 +0000 (UTC) (envelope-from dds@aueb.gr) Received: from mx-out.forthnet.gr (mx-out.forthnet.gr [193.92.150.104]) by mx1.freebsd.org (Postfix) with ESMTP id 4A7AF13C455 for ; Thu, 24 Jan 2008 10:02:18 +0000 (UTC) (envelope-from dds@aueb.gr) Received: from mx-av-01.forthnet.gr (mx-av.forthnet.gr [193.92.150.27]) by mx-out-02.forthnet.gr (8.14.0/8.14.0) with ESMTP id m0O9psaP018177; Thu, 24 Jan 2008 11:51:54 +0200 Received: from MX-IN-01.forthnet.gr (mx-in-01.forthnet.gr [193.92.150.23]) by mx-av-01.forthnet.gr (8.14.1/8.14.1) with ESMTP id m0O9pskA022995; Thu, 24 Jan 2008 11:51:54 +0200 Received: from [192.168.136.22] (ppp144-181.adsl.forthnet.gr [62.1.135.181]) by MX-IN-01.forthnet.gr (8.14.2/8.14.2) with ESMTP id m0O9pqRa019413; Thu, 24 Jan 2008 11:51:53 +0200 Authentication-Results: MX-IN-01.forthnet.gr smtp.mail=dds@aueb.gr; spf=neutral Authentication-Results: MX-IN-01.forthnet.gr header.from=dds@aueb.gr; sender-id=neutral Message-ID: <47985FB3.2070500@aueb.gr> Date: Thu, 24 Jan 2008 11:51:47 +0200 From: Diomidis Spinellis User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.4) Gecko/20070509 SeaMonkey/1.1.2 MIME-Version: 1.0 To: Stefan Ehmann References: <4797BADB.7000802@FreeBSD.org> <200801241045.23164.shoesoft@gmx.net> In-Reply-To: <200801241045.23164.shoesoft@gmx.net> Content-Type: text/plain; charset=ISO-8859-7; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Thu, 24 Jan 2008 12:24:19 +0000 Cc: freebsd-current@FreeBSD.ORG Subject: Re: Low NTFS read performance X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Thu, 24 Jan 2008 10:02:19 -0000 Stefan Ehmann wrote: > On Wednesday 23 January 2008 23:08:27 Diomidis Spinellis wrote: >> Diomidis Spinellis wrote in freebsd-stable@: >>> I can't get an Ultrium-2 LTO drive to stream, and (I think) I've traced >>> the problem to the read performance of the USB2-attached NTFS disk, and >>> specifically the NTFS filesystem. I'm reading a single 190GB file, and >>> the throughput I'm getting is 5.4MB/s: > > Are you using the NTFS kernel option or the sysutils/fusefs-ntfs Port? > > In my experience the latter is much faster and probably superior in most other > aspects. I'm using the NTFS kernel option. I think the problem lies in the line bread(vp, cn, ntfs_cntob(1), NOCRED, &bp); of ntfs_vnops.c. We should be reading bigger blocks. Thanks for the suggestion, I'll try the port.