Re: [PATCH 0/6] SLAB-ify nlm_host cache

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Nov 05, 2008 at 04:56:36PM -0500, Trond Myklebust wrote:
> On Wed, 2008-11-05 at 16:51 -0500, Chuck Lever wrote:
> > Here's a set of patches to change the NLM host cache to use a slab.
> 
> OK, I'll bite. Why would we care about slabifying the NLM host cache?

There's some argument on the 5th patch:

	"Now that we have a couple of large text buffers in the nlm_host
	struct, the nlm_host cache should use a slab to reduce memory
	utilization and fragmentation on systems that manage a large
	number of NLM peers.

	"We keep these hardware cache-aligned to speed up the linked
	list search in nlm_lookup_host().

	"The overhead of creating a fresh nlm_host entry is also reduced
	using SLAB's init_once callback instead of using kzalloc()."

Chuck, is there any hope of quantifying those improvements?

--b.
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux