Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Jul 2010 15:34:12 -0700
From:      Jerry Toung <jrytoung@gmail.com>
To:        freebsd-hackers@freebsd.org
Subject:   disk I/O, VFS hirunningspace
Message-ID:  <AANLkTinm3kFm7pF_cxoNz1Cgyd5UvnmgZzCpbjak-zzy@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTinm3kFm7pF_cxoNz1Cgyd5UvnmgZzCpbjak-zzy>