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

Ivan Voras ivoras at fer.hr
Tue Jul 10 08:31:50 UTC 2007


Gore Jarold wrote:

> 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).

What does iostat report during these operations? MB/s, CPU utilization? 
What time of it's spent in SYS?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 249 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-fs/attachments/20070710/2a93b7da/signature.pgp


More information about the freebsd-fs mailing list