[PATCH] fadvise(2) system call

Adrian Chadd adrian at freebsd.org
Sun Oct 30 11:57:25 UTC 2011


Right, that's why Squid/Lusca sucks much less there. The IO is done
using a pool of threads.

I bet in the torrent client case, massive speedups could be done with
correct use of either IO threads, or the POSIX AIO library.
I'm all for using fadvise() to hint to the OS about what's about to
happen (and I'll start leveraging it myself once it hits the tree) but
there are other ways to skin this cat..



Adrian


More information about the freebsd-arch mailing list