Re: disk I/O, VFS hirunningspace

2010-07-16 Thread Peter Jeremy
Regarding vfs.lorunningspace and vfs.hirunningspace... On 2010-Jul-15 13:52:43 -0500, Alan Cox alan.l@gmail.com wrote: Keep in mind that we still run on some fairly small systems with limited I/O capabilities, e.g., a typical arm platform. More generally, with the range of systems that

Re: disk I/O, VFS hirunningspace

2010-07-16 Thread Alan Cox
Peter Jeremy wrote: Regarding vfs.lorunningspace and vfs.hirunningspace... On 2010-Jul-15 13:52:43 -0500, Alan Coxalan.l@gmail.com wrote: Keep in mind that we still run on some fairly small systems with limited I/O capabilities, e.g., a typical arm platform. More generally, with the

Re: disk I/O, VFS hirunningspace

2010-07-15 Thread Ivan Voras
On 07/14/10 18:27, Jerry Toung wrote: On Wed, Jul 14, 2010 at 12:04 AM, Gary Jennejohn gljennj...@googlemail.comwrote: Rather than commenting out the code try setting the sysctl vfs.hirunningspace to various powers-of-two. Default seems to be 1MB. I just changed it on the command line

Re: disk I/O, VFS hirunningspace

2010-07-15 Thread Alan Cox
On Thu, Jul 15, 2010 at 8:01 AM, Ivan Voras ivo...@freebsd.org wrote: On 07/14/10 18:27, Jerry Toung wrote: On Wed, Jul 14, 2010 at 12:04 AM, Gary Jennejohn gljennj...@googlemail.comwrote: Rather than commenting out the code try setting the sysctl vfs.hirunningspace to various

Re: disk I/O, VFS hirunningspace

2010-07-15 Thread Attilio Rao
2010/7/15 Alan Cox alan.l@gmail.com: On Thu, Jul 15, 2010 at 8:01 AM, Ivan Voras ivo...@freebsd.org wrote: On 07/14/10 18:27, Jerry Toung wrote: On Wed, Jul 14, 2010 at 12:04 AM, Gary Jennejohn gljennj...@googlemail.comwrote: Rather than commenting out the code try setting the

Re: disk I/O, VFS hirunningspace

2010-07-14 Thread Matthew Dillon
:void :waitrunningbufspace(void) :{ :/* :mtx_lock(rbreqlock); :while (runningbufspace hirunningspace) { :++runningbufreq; :msleep(runningbufreq, rbreqlock, PVM, wdrain, 0); :} :mtx_unlock(rbreqlock); :*/ :} : :so far, I can't

Re: disk I/O, VFS hirunningspace

2010-07-14 Thread Gary Jennejohn
On Tue, 13 Jul 2010 15:34:12 -0700 Jerry Toung jryto...@gmail.com wrote: 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

Re: disk I/O, VFS hirunningspace

2010-07-14 Thread Jerry Toung
On Wed, Jul 14, 2010 at 12:04 AM, Gary Jennejohn gljennj...@googlemail.comwrote: Rather than commenting out the code try setting the sysctl vfs.hirunningspace to various powers-of-two. Default seems to be 1MB. I just changed it on the command line as a test to 2MB. You can do this in

disk I/O, VFS hirunningspace

2010-07-13 Thread Jerry Toung
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) { /*