help needed - tuning a filesystem for rm and cp ? (MORE)

Oliver Fromme olli at lurza.secnetix.de
Thu Aug 16 10:29:47 PDT 2007


Speedtoys <speedtoys.racing at 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


More information about the freebsd-fs mailing list