Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Aug 2007 15:44:54 -0500
From:      Eric Anderson <anderson@freebsd.org>
To:        Gore Jarold <gore_jarold@yahoo.com>
Cc:        freebsd-fs@freebsd.org, ivoras@fer.hr
Subject:   Re: help needed - tuning a filesystem for rm and cp ? (MORE)
Message-ID:  <46C21446.40004@freebsd.org>
In-Reply-To: <186173.85039.qm@web63008.mail.re1.yahoo.com>
References:  <186173.85039.qm@web63008.mail.re1.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Gore Jarold wrote:
> On Fri, 13 Jul 2007, Ivan Voras wrote:
> 
>> Gore Jarold wrote:
>>
>>> vfs.ufs.dirhash_maxmem: 2097152
>>> vfs.ufs.dirhash_mem: 2065716
>>>
>>>
>>> Interesting at all ?
>> Yes, you've used up all dirhash_mem. Since you have
> enough memory, try
>> increasing dirhash_maxmem by a factor of 4 or more
> and testing again. It
>> might help you with large directories (lots of
> files).
> 
> 
> Ok, you are correct - I am indeed maxing out
> vfs.ufs.dirhash_mem
> 
> I have just upped it by 2x and will continue to
> monitor it.
> 
> Here is a question for any and all out there reading
> ... what would you expect would happen to a system
> that was constantly maxing out this value, sometimes
> on a sustained basis, while the activity that caused
> it went on uninterrupted ?
> 
> I am seeing the system halt ... is it reasonable to
> think that maxing that value out on a regular,
> sustained basis would cause a system to halt ?
> 
> (6.2-release running on a 4 GB memory p4 xeon ... does
> nothing but fileserver duties)


If you have a lot of meta-data IO (which you seem to have), then it's 
possible that the system is incredibly busy doing disk accesses, and 
waiting on IO from storage.  When you say 'halt' does that mean you 
can't log in to it, and eventually it comes back alive, or does that 
mean it is locked up in a way that never recovers?

Eric







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