Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
using FS-cache with NFS?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
m27315
Apprentice
Apprentice


Joined: 10 Dec 2004
Posts: 253
Location: 2 workstations down

PostPosted: Thu Aug 07, 2008 9:56 pm    Post subject: using FS-cache with NFS? Reply with quote

Is anybody using FS-cache with NFS? I am experiencing some modest (~10-20%) performance degradation on the same hardware, between Gentoo and a RHEL5 (CentOS5.2) install, which has FS-cache built-in. I tried following this HOWTO:

http://gentoo-wiki.com/HOWTO_FS-Cache

But, the latest patchset breaks with the latest gentoo kernel, and mm-sources will not even install (patch fail).

I'm just curious if anybody is using FS-cache with NFS on a modern kernel, or has this patch gone defunct in the Gentoo world. Google is not turning up many results on Gentoo either...

It would be nice if this was included in the Gentoo kernel patch set. :roll: :)

Thanks!
Back to top
View user's profile Send private message
m27315
Apprentice
Apprentice


Joined: 10 Dec 2004
Posts: 253
Location: 2 workstations down

PostPosted: Tue Aug 19, 2008 4:11 pm    Post subject: *bump* Reply with quote

I guess nobody is using FS-cache (or cache-fs) with modern kernels? :-)

I was afraid that this might be too much on the fringe, although I think this is accounting for a non-trivial speed bump I am seeing on a dual-boot RHEL5.2-Gentoo box.
Back to top
View user's profile Send private message
m27315
Apprentice
Apprentice


Joined: 10 Dec 2004
Posts: 253
Location: 2 workstations down

PostPosted: Tue Jun 23, 2009 3:44 pm    Post subject: Reply with quote

This is now included in the 2.6.30 kernel, although it is deactivated by default:

Code:
File systems ---> Caches --->

                 <*> General filesystem local caching manager
                 [ ]   Gather statistical information on local caching
                 [ ]   Gather latency information on local caching
                 [ ]   Debug FS-Cache
                 <*>   Filesystem caching on files
                 [ ]     Debug CacheFiles
                 [ ]     Gather latency information on CacheFiles

Unfortunately, my setup has changed, and I no longer have access to the same NFS setup. Maybe somebody else can verify the performance impact of using this new module with NFS...
Back to top
View user's profile Send private message
depontius
Advocate
Advocate


Joined: 05 May 2004
Posts: 3526

PostPosted: Tue Jun 23, 2009 4:34 pm    Post subject: Reply with quote

I've activated the kernel bits with 2.6.30, but haven't done the rest of the work. Reading the (other, non-Gentoo) documentation I also see that you need a "good enough" level of nfs-utils and to get local-file (as opposed to local partition) caching running, you need some sort of daemon. Have you actuallly got this running on Gentoo? What did you do extra?
_________________
.sigs waste space and bandwidth
Back to top
View user's profile Send private message
m27315
Apprentice
Apprentice


Joined: 10 Dec 2004
Posts: 253
Location: 2 workstations down

PostPosted: Tue Jun 23, 2009 4:43 pm    Post subject: Reply with quote

sorry, I started this thread last year, but I was blocked because I could not patch FS-CACHE into the kernel successfully. Now, the kernel comes with FS-CACHE integrated, but now I no longer need it, nor can I use it. My Gentoo box is no longer on an NFS network. ... I will have to leave this up to you and others to test. I only updated the thread in case somebody stumbled across it.
Back to top
View user's profile Send private message
depontius
Advocate
Advocate


Joined: 05 May 2004
Posts: 3526

PostPosted: Mon Dec 06, 2010 5:50 pm    Post subject: Reply with quote

I've been running fscache with cachefilesd for some time now. I notice no problems, nor can I really say if it's doing anything for me. I supposed I should benchmark it one of these days.
_________________
.sigs waste space and bandwidth
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum