Re: Disable NFS client cache (or other traffic reduction methods)

From: Eli Dart (dart_at_nersc.gov)
Date: 04/07/05

  • Next message: Matthew Smith: "Re: FreeVRRPd project status"
    Date: Thu, 07 Apr 2005 13:20:31 -0700
    To: Charles Swiger <cswiger@mac.com>
    
    

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    >> Is there a way to disable client-side caching? I've looked, and
    >> can't seem to find one. Or, do I have this wrong and there is
    >> something else that is causing this?
    >
    >
    > Take a look through "man mount_nfs" for:
    >
    > -a Set the read-ahead count to the specified value. This may
    > be in
    > the range of 0 - 4, and determines how many blocks will be
    > read
    > ahead when a large file is being read sequentially. Trying a
    > value greater than 1 for this is suggested for mounts with a
    > large bandwidth * delay product.

    I did see this. Since the client is not reading any files (I think
    all the reads are being done by the NFS layer, not by any userland
    processes with open files) I had ignored -a.

    >
    > ...and the -o ac*** options. Although you may be right-- I was a bit
    > surprised not to see a "-o noac", myself. Solaris has one:

    Hmmmm.....any NFS gurus know whether setting the ac* options to 0
    will disable client caching? Or, will setting these to 0 result in
    the client NFS layer fetching the data from the server and then
    immediately expiring it?

    Thanks,

                    --eli

    >
    > noac Suppress data and attribute caching.
    >
    > :-)
    >

    - --

    - -------------------------------------------------------------------
    Eli Dart Office: (510) 495-2999
    NERSC Center Networking and Security Group Cell: (510) 703-4508
    Lawrence Berkeley National Laboratory Fax: (510) 486-4316
    PGP Fingerprint = C970 F8D3 CFDD 8FFF 5486 343A 2D31 4478 5F82 B2B3
    - -------------------------------------------------------------------
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.0 (MingW32)
    Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

    iD4DBQFCVZYOLTFEeF+CsrMRAlReAKDMxrs97SSkZJRhaEVxRRpO51XrsACXX983
    grAaYcgINLwiLtzoz3nLhQ==
    =GAZ7
    -----END PGP SIGNATURE-----

    _______________________________________________
    freebsd-net@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-net
    To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"


  • Next message: Matthew Smith: "Re: FreeVRRPd project status"

    Relevant Pages

    • Re: [SLE] help with IMAP
      ... In the email client, ... Registered Linux user 231871 ... God said, ... Comment: Using GnuPG with Netscape - http://enigmail.mozdev.org ...
      (SuSE)
    • Re: LTSP, mac address
      ... You need GnuPG to verify this message ... > could check the IP via PHP and send a IP-specific page to the client as ... The only problem, unless you run the browser as local app, you'll ...
      (comp.os.linux.networking)
    • Re: Saving down from PPT 2004 for mac so Windows/Office 2003 can read my preso
      ... Office 2003 apps should be able to open files ... Mac Office apps have used identical file formats for several versions now. ... 2- The method by which you're providing the files to the client... ... can't read any of my docs (word, ppt, excel) if I created them on my mac ...
      (microsoft.public.mac.office.powerpoint)
    • Re: collecting remote system information
      ... I have seen programs like IBM Director installs an agent on a client ... the ruby program will run on Fedora or OpenBSD and the clients are ... Windows XP machines. ... Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org ...
      (comp.lang.ruby)
    • Net::FTP questions...
      ... I am attempting to write a client side script that mirrors a user's ... something I can use (such as an FTP command) to catch a clue on how to ... PERL and Ruby can do anything PERL can do - better:) ... Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org ...
      (comp.lang.ruby)