[RFC] Bumping ufs.dirhash_maxmem to a larger value?
From: Xin LI (delphij_at_frontfree.net)
Date: 08/07/05
- Previous message: pfgshield-freebsd_at_yahoo.com: "LibMicro: Portable Microbenchmarks"
- Next in thread: Chuck Swiger: "Re: [RFC] Bumping ufs.dirhash_maxmem to a larger value?"
- Reply: Chuck Swiger: "Re: [RFC] Bumping ufs.dirhash_maxmem to a larger value?"
- Maybe reply: David Malone: "Re: [RFC] Bumping ufs.dirhash_maxmem to a larger value?"
- Maybe reply: Darren Reed: "Re: [RFC] Bumping ufs.dirhash_maxmem to a larger value?"
- Maybe reply: Mike Silbersack: "Re: [RFC] Bumping ufs.dirhash_maxmem to a larger value?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 8 Aug 2005 02:47:07 +0800 To: freebsd-performance@FreeBSD.org
[Bcc'ed to -developers@, so this can be discussed in a public list]
Hi,
It seems that vfs.ufs.dirhash_maxmem is set to 2MB. I think this value
is slightly too small for modern machines:
- There are many applications that relies on small files. CVS, maildir,
etc. For these applications a typical need of dirhash would be much
larger than 2MB.
- The RAM equiped with modern computers are growing fast.
- Increasing dirhash_maxmem does not bring too much overhead on small
systems, as the system would automatically recycle unused entities.
If the memory was not freed in time, then it is usually because
the system is busy accessing a zillion of small files. Moreover,
it is possible for the user to change the default value back to
a smaller value if the file indexing is not their performance
bottleneck.
My proposal is to increase the default dirhash_maxmem value to at least
32MB or 64MB. Any objections?
Cons for this, discussed in -developer:
- dirhash does not implements automatical mechanism to reduce memory
usage in response to system memory pressure, and benefits mainly to
large directories, e.g. Maildirs.
Cheers,
-- Xin LI <delphij frontfree net> http://www.delphij.net/ See complete headers for GPG key and other information.
- application/pgp-signature attachment: stored
- Previous message: pfgshield-freebsd_at_yahoo.com: "LibMicro: Portable Microbenchmarks"
- Next in thread: Chuck Swiger: "Re: [RFC] Bumping ufs.dirhash_maxmem to a larger value?"
- Reply: Chuck Swiger: "Re: [RFC] Bumping ufs.dirhash_maxmem to a larger value?"
- Maybe reply: David Malone: "Re: [RFC] Bumping ufs.dirhash_maxmem to a larger value?"
- Maybe reply: Darren Reed: "Re: [RFC] Bumping ufs.dirhash_maxmem to a larger value?"
- Maybe reply: Mike Silbersack: "Re: [RFC] Bumping ufs.dirhash_maxmem to a larger value?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|