Re: [RFC] Bumping ufs.dirhash_maxmem to a larger value?
From: Chuck Swiger (cswiger_at_mac.com)
Date: 08/07/05
- Previous message: Xin LI: "[RFC] Bumping ufs.dirhash_maxmem to a larger value?"
- In reply to: Xin LI: "[RFC] Bumping ufs.dirhash_maxmem to a larger value?"
- Next in thread: Xin LI: "Re: [RFC] Bumping ufs.dirhash_maxmem to a larger value?"
- Reply: Xin LI: "Re: [RFC] Bumping ufs.dirhash_maxmem to a larger value?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 07 Aug 2005 14:57:50 -0400 To: Xin LI <delphij@frontfree.net>
Xin LI wrote:
> It seems that vfs.ufs.dirhash_maxmem is set to 2MB. I think this value
> is slightly too small for modern machines:
[ ... ]
> My proposal is to increase the default dirhash_maxmem value to at least
> 32MB or 64MB. Any objections?
You are undoubtedly right that allocating only 2MB for dirhash on a modern
machine which has, for example, 1GB of RAM is too small.
On the other hand, I've got several firewall boxes with only 128MB, and it's
not reasonable to simply dedicate up to 64MB (half!) to dirhash without paying
more attention to the amount of physical memory that is actually available.
How big should dirhash_maxmem be? 5-10% of available RAM, perhaps?
-- -Chuck _______________________________________________ freebsd-performance@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-performance To unsubscribe, send any mail to "freebsd-performance-unsubscribe@freebsd.org"
- Previous message: Xin LI: "[RFC] Bumping ufs.dirhash_maxmem to a larger value?"
- In reply to: Xin LI: "[RFC] Bumping ufs.dirhash_maxmem to a larger value?"
- Next in thread: Xin LI: "Re: [RFC] Bumping ufs.dirhash_maxmem to a larger value?"
- Reply: Xin LI: "Re: [RFC] Bumping ufs.dirhash_maxmem to a larger value?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]