From owner-freebsd-arch@FreeBSD.ORG Sat Oct 29 23:19:32 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 B31F51065673 for ; Sat, 29 Oct 2011 23:19:32 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id 6E7BE8FC19 for ; Sat, 29 Oct 2011 23:19:32 +0000 (UTC) Received: by ggnq2 with SMTP id q2so6325996ggn.13 for ; Sat, 29 Oct 2011 16:19:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=references:in-reply-to:mime-version:content-transfer-encoding :content-type:message-id:cc:x-mailer:from:subject:date:to; bh=db4XVteQeGVBhi6cy8ufPP0vmNam5zflrzLCALzCHrs=; b=VCMac58kFhuZx35aN10i3MxX1A302TbR8LgwKFVoXqTFCqRT4ukYFy94XuYlrsTDyX 3OGafMKXGXly2KD8xJCo5JFsz+K2JGnWm0df6HbzIsFVP0pJWLi/ShNdHfpBrZhdJc6f iY8RDDkdvCwfZ1sw3dEFObiPlJ6vpS8uXsEQk= Received: by 10.150.215.2 with SMTP id n2mr7189568ybg.12.1319928679200; Sat, 29 Oct 2011 15:51:19 -0700 (PDT) Received: from [10.99.45.76] ([166.137.9.199]) by mx.google.com with ESMTPS id l8sm37556628anb.1.2011.10.29.15.51.15 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 29 Oct 2011 15:51:17 -0700 (PDT) References: <201110281426.00013.jhb@freebsd.org> <4EAB550E.3060603@FreeBSD.org> <458756137.20111030024046@serebryakov.spb.ru> In-Reply-To: <458756137.20111030024046@serebryakov.spb.ru> Mime-Version: 1.0 (1.0) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-2022-jp Message-Id: <3C5CF500-E0D7-4E65-A98B-088ACC11F2D6@gmail.com> X-Mailer: iPhone Mail (9A334) From: Garrett Cooper Date: Sat, 29 Oct 2011 15:51:07 -0700 To: Lev Serebryakov 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 23:19:32 -0000 On Oct 29, 2011, at 3:40 PM, Lev Serebryakov wrote:= > Hello, Doug. > You wrote 29 =1B$B'`'\'d'q'R'b'q=1B(B 2011 =1B$B'T=1B(B., 5:21:18: >=20 >>> You can read the description of posix_fadvise() (which this implements) h= ere: >> 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. Pretty sure it would help rsync and samba as well based on some quick googli= ng.. -Garrett=