Skip to contentSkip to conversation

NFS servers and ACCESS procedure

DISCUSSION Jesse Colmenares 3 participants 3 messages Aug 5, 2003 – Aug 6, 2003

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hello.

I have about 15(fifteen) Red Hat Linux 7.3 (kernel 2.4.18) Servers
working as NFS clients against a NetApp 840 Server running as NFS Server, the statistics of our server show about 60% of operations from the ACCESS procedure of NFS protocol.

We are not concern about security because the aplications that
access the network NFS server are running with only one user(root), so permission checking over the files is no necessary. We are using actually NFS version 3.

The question is: There are a way no disable the ACCESS cheching on
NFS version 3 clients o servers?

Thanks!!!

-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs

#1 lore raw

> The question is: There are a way no disable the ACCESS
> cheching on NFS version 3 clients o servers?

Not really. However there is a patch to make linux cache those ACCESS checks in order to reduce the number of RPC calls. It has a very noticable effect if you are running as root (for which the current algorithm is very inefficient).

IOW: you have 3 obvious solutions.

1) Use NFSv2...

2) You could backport the ACCESS caching patch

        http://www.fys.uio.no/~trondmy/src/2.4.19/linux-2.4.19-21-access.dif
     to RedHat's 2.4.18 kernel.

3) Upgrade to the RedHat 2.4.20 errata kernel, and apply the ACCESS caching patch for 2.4.20 to that.

Alternatively, RedHat may already have applied the ACCESS patch in their rawhide kernels? Perhaps Steve Dickson could comment on that?

Cheers,
Trond

-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs

#2 lore raw
Quoted 3 lines · Trond Myklebust

Alternatively, RedHat may already have applied the ACCESS patch in their rawhide kernels? Perhaps Steve Dickson could comment on that?

Yes.. the patch is in the latest rawhide kernel.

SteveD.

-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs