Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Apr 2004 00:55:07 +0200
From:      Uwe Doering <gemini@geminix.org>
To:        freebsd-performance@freebsd.org
Subject:   Re: vfs.hirunningspace on a 3ware 8506
Message-ID:  <4085AA4B.1020700@geminix.org>
In-Reply-To: <4085869E.7090306@he.iki.fi>
References:  <20040420195010.GZ87362@nasby.net> <4085869E.7090306@he.iki.fi>

next in thread | previous in thread | raw e-mail | index | archive | help
Petri Helenius wrote:
> Jim C. Nasby wrote:
> 
>> Has anyone done any testing to see what value of vfs.hirunningspace is
>> optimal for a 3ware 8506-8?
>>
> Do the 3ware controllers actually care about this value due to the 
> onboard processing and cache? I thought all writes are satisfied 
> immediately?

The controller itself doesn't care, but the kernel does.  With the 
current implementation, the amount of memory associated with outstanding 
read requests is subtracted from vfs.hirunningspace.  With many 
concurrent read requests there is no reserve left for write operations, 
so write performance can suffer substantially.

This balancing effect is actually intended in order to give read 
requests some priority, but in high performance systems with fast, 
caching raid controllers the default value of said variable is too low 
and therefore poses a bottleneck.

    Uwe
-- 
Uwe Doering         |  EscapeBox - Managed On-Demand UNIX Servers
gemini@geminix.org  |  http://www.escapebox.net



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