[PATCH] fadvise(2) system call

Adrian Chadd adrian at freebsd.org
Sun Oct 30 11:44:45 UTC 2011


On 30 October 2011 20:01, Lev Serebryakov <lev at freebsd.org> wrote:

>   I don't know. But I could show your results of typical ktrace, where
>  transmission-daemon spends 590 seconds of 600 (Wall time) in
>  pread() syscall , and real read speed is only about 30Mbit/s (and
>  this FS could be read at speed about 300MiB/s, 100 times faster,
>  with linear read).

Is the app doing multi-threaded disk IO? How random is the IO?

How is fadvise being used in the torrent client? Is it being used to
force in data into cache?

I'm not knocking the fadvise work (far from it!), I'd just like to
better understand what's going on here.


adrian


More information about the freebsd-arch mailing list