disk I/O, VFS hirunningspace

Jerry Toung jrytoung at gmail.com
Tue Jul 13 22:58:39 UTC 2010


Hello List,
I am on 8.0 RELEASE amd64. My system has 2 RAID arrays connected to 2
separate
controllers.
My I/O throughput tests jumped by ~100MB/sec on both channels, when I
commented out the
following piece of code from kern/vfs_bio.c

void
waitrunningbufspace(void)
{
/*
        mtx_lock(&rbreqlock);
        while (runningbufspace > hirunningspace) {
                ++runningbufreq;
                msleep(&runningbufreq, &rbreqlock, PVM, "wdrain", 0);
        }
        mtx_unlock(&rbreqlock);
*/
}

so far, I can't observe any side effects of not running it. Am I on a time
bomb?

Thank you,
Jerry


More information about the freebsd-hackers mailing list