Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Jul 2007 07:52:09 -0700 (PDT)
From:      Gore Jarold <gore_jarold@yahoo.com>
To:        freebsd-fs@freebsd.org
Subject:   Re: help needed - tuning a filesystem for rm and cp ? (MORE)
Message-ID:  <86847.26083.qm@web63012.mail.re1.yahoo.com>

next in thread | raw e-mail | index | archive | help
> > All else being equal, how do you optimize a system
for
> > copying from one place to another on the same
mount
> > point ?  How do you optimize a system for fast
file
> > deletion ?  Are the two mutually exclusive ?
>
> You might try increasing vfs.ufs.dirhash_maxmem if
the default's too low
> for you (see what "sysctl -a | grep dirhash"
reports).


# sysctl -a | grep dirhash
  UFS dirhash   895   181K       -   550269 
16,32,64,128,256,512,1024,2048,4096
vfs.ufs.dirhash_minsize: 2560
vfs.ufs.dirhash_maxmem: 2097152
vfs.ufs.dirhash_mem: 2065716
vfs.ufs.dirhash_docheck: 0


Interesting at all ?  Above ^^^ is the output for
today, but I checked it yesterday as well and got:

# sysctl -a | grep dirhash
  UFS dirhash   180    43K       -   452370 
16,32,64,128,256,512,1024,2048,4096
vfs.ufs.dirhash_minsize: 2560
vfs.ufs.dirhash_maxmem: 2097152
vfs.ufs.dirhash_mem: 860405
vfs.ufs.dirhash_docheck: 0


So do I understand this correctly that right now I am
at ~550000 and yesterday I was at ~452000, but
yesterday my high water mark was ~860000 and today my
high water mark is 2065716 ?

So it looks like I maxed it out last night ?  



       
____________________________________________________________________________________
Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games.
http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow  



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