Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Aug 2007 19:29:39 +0200 (CEST)
From:      Oliver Fromme <olli@lurza.secnetix.de>
To:        freebsd-fs@FreeBSD.ORG
Subject:   Re: help needed - tuning a filesystem for rm and cp ? (MORE)
Message-ID:  <200708161729.l7GHTdb3015168@lurza.secnetix.de>
In-Reply-To: <14087D0D-B8A7-44F9-9EA7-2DA6C0DEB733@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Speedtoys <speedtoys.racing@gmail.com> wrote:
 > Will upping these values make a difference on nfs volumes as well?

The dirhash optimization is for UFS only.  It does not
affect NFS clients.  Of course, if your NFS _server_
exports any UFS file systems, it benefits from dirhash,
too.

Whether increasing the dirhash_max value will make a
difference depends on two things.  First check whether
you're actually hitting the current maximum.  If you
don't, increasing it would be pointless.  Second, if
you did hit the maximum, try to increase it and perform
some benchmarks to find out if the situation improves.
If you can't measure a difference, I recommend to go
back to the default value.

Best regards
   Oliver

PS:  Please don't top-post.

-- 
Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M.
Handelsregister: Registergericht Muenchen, HRA 74606,  Geschäftsfuehrung:
secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün-
chen, HRB 125758,  Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart

FreeBSD-Dienstleistungen, -Produkte und mehr:  http://www.secnetix.de/bsd

"One of the main causes of the fall of the Roman Empire was that,
lacking zero, they had no way to indicate successful termination
of their C programs."
        -- Robert Firth



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