[PATCH] fadvise(2) system call
yanegomi at gmail.com
Sat Oct 29 23:19:32 UTC 2011
On Oct 29, 2011, at 3:40 PM, Lev Serebryakov <lev at serebryakov.spb.ru> wrote:
> Hello, Doug.
> You wrote 29 октября 2011 г., 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.
Pretty sure it would help rsync and samba as well based on some quick googling..
More information about the freebsd-arch