Date: Sun, 30 Oct 2011 02:40:46 +0400 From: Lev Serebryakov <lev@serebryakov.spb.ru> To: John Baldwin <jhb@freebsd.org> Cc: arch@freebsd.org Subject: Re: [PATCH] fadvise(2) system call Message-ID: <458756137.20111030024046@serebryakov.spb.ru> In-Reply-To: <4EAB550E.3060603@FreeBSD.org> References: <201110281426.00013.jhb@freebsd.org> <4EAB550E.3060603@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <lev@serebryakov.spb.ru>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?458756137.20111030024046>