Re: NFS Server cache

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

 



On Fri, Jun 25, 2010 at 12:57:05AM +0200, Smets, Jan (Jan) wrote:
> Hi list
> 
> If I understood correctly, the main memory is used for caching NFS server data. Can I get more information on this? Statistics?

It uses the same caching as any other user of the exported filesystem.
What question exactly are you trying to answer?

> Is it possible to use a sort of fs-cache on the server? Thus using a SSD drive as cache for example. (at first sight fs-cache can only be used on the client side..)

If the nfs server code itself kept its own cache, that would cause
consistency problems between nfs clients and local users of the exported
filesystem.

So you want to solve the problem below the nfs level, in the vfs and/or
filesystem.

Making a filesystem use fs-cache requires modifying code of the
filesystem.  I don't know whether it would make sense to do that for a
disk filesystem.

There might be some benefit to putting the journal on an ssd; see e.g.:

	http://insights.oetiker.ch/linux/external-journal-on-ssd.html

> And maybe not so related: can I do data de-duplication? (within te
> cache? .. But I guess the FS should do that, but I could not find any
> capable of doing this on Linux.)

I believe people want btrfs to do deduplication some day.

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