Matthew Dillon wrote:
> 
>     MADV_SEQUENTIAL *WILL* work.   It changes the page fault
>     read-behind/read-ahead.  Normally the VM system reads behind a bit as well
>     as reads ahead.  If you set MADV_SEQUENTIAL it shifts to just doing
>     read-ahead, and it does more of it.

So it works, then? GNU grep has this #ifdef'ed out, with a comment
about it impacting negatively on performance on BSD 4.1. I recall
some rants on this subject a couple of years ago... If it is
working, I'd like to change that 0 to 1 in our tree.

--
Daniel C. Sobral                        (8-DCS)
d...@newsguy.com
d...@freebsd.org

        "Is it true that you're a millionaire's son who never worked a day
in your life?"
        "Yeah, I guess so."
        "Lemme tell you, son, you ain't missed a thing."



To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to