From owner-freebsd-arch@FreeBSD.ORG Sat Oct 29 22:40:57 2011 Return-Path: Delivered-To: arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 69F94106564A; Sat, 29 Oct 2011 22:40:57 +0000 (UTC) (envelope-from lev@serebryakov.spb.ru) Received: from onlyone.friendlyhosting.spb.ru (onlyone.friendlyhosting.spb.ru [IPv6:2a01:4f8:131:60a2::2]) by mx1.freebsd.org (Postfix) with ESMTP id 326B78FC12; Sat, 29 Oct 2011 22:40:56 +0000 (UTC) Received: from lion.home.serebryakov.spb.ru (unknown [IPv6:2001:470:923f:1:504f:9791:43c0:21ab]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.friendlyhosting.spb.ru (Postfix) with ESMTPA id 920A94AC1C; Sun, 30 Oct 2011 02:40:55 +0400 (MSK) Date: Sun, 30 Oct 2011 02:40:46 +0400 From: Lev Serebryakov X-Priority: 3 (Normal) Message-ID: <458756137.20111030024046@serebryakov.spb.ru> To: John Baldwin In-Reply-To: <4EAB550E.3060603@FreeBSD.org> References: <201110281426.00013.jhb@freebsd.org> <4EAB550E.3060603@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: quoted-printable Cc: arch@freebsd.org Subject: Re: [PATCH] fadvise(2) system call X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Oct 2011 22:40:57 -0000 Hello, Doug. You wrote 29 =EE=EA=F2=FF=E1=F0=FF 2011 =E3., 5:21:18: >> You can read the description of posix_fadvise() (which this implements) = here: > If you want a real-world consumer of posix_fadvise you can take a look > at net-p2p/libtorrent-rasterbar15. The code is ifdef'ed out for FreeBSD > because we don't have that yet, but it should be obvious how to > re-enable it. There are a few clients that use that lib, qbittorrent is > probably the most straightforward. net-p2p/transmission-daemon could be used, too. It shows very poor performance on UFS (90% in pread() call and 50% of wall time to saturate 40Mbit/s channel from fast disk) compared to Linux, where such interface exists. --=20 // Black Lion AKA Lev Serebryakov