Re: [PATCH v2 0/8] nfsd: duplicate reply cache overhaul

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

 



On Mon, Feb 04, 2013 at 08:17:59AM -0500, Jeff Layton wrote:
> This patchset is a first pass at fixing this. Instead of simply keeping
> a cache of the last 1024 entries, it allows nfsd to grow and shrink the
> DRC dynamically.

One other thing I think we should try is to organize the cache per
client address and evict cache entries from clients with more entries
first, on the theory that:

	- There are diminishing returns from keeping huge numbers of
	  entries from a single client: a client that has sent us lots
	  of new requests is likely to have processed replies to the
	  older ones.

	- We should still try to hang on to a few of the most recent
	  entries from a client that hasn't made any requests recently,
	  because such a client may have just temporarily lost contact,
	  in which case it's particularly likely to need to retry a
	  request, and we don't want its entries pushed out by clients
	  that remain active.

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