Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Oct 2011 15:51:07 -0700
From:      Garrett Cooper <yanegomi@gmail.com>
To:        Lev Serebryakov <lev@serebryakov.spb.ru>
Cc:        "arch@freebsd.org" <arch@freebsd.org>
Subject:   Re: [PATCH] fadvise(2) system call
Message-ID:  <3C5CF500-E0D7-4E65-A98B-088ACC11F2D6@gmail.com>
In-Reply-To: <458756137.20111030024046@serebryakov.spb.ru>
References:  <201110281426.00013.jhb@freebsd.org> <4EAB550E.3060603@FreeBSD.org> <458756137.20111030024046@serebryakov.spb.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Oct 29, 2011, at 3:40 PM, Lev Serebryakov <lev@serebryakov.spb.ru> 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=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3C5CF500-E0D7-4E65-A98B-088ACC11F2D6>