All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mike Waychison <Michael.Waychison@Sun.COM>
To: Kenny Simpson <theonetruekenny@yahoo.com>
Cc: autofs@linux.kernel.org
Subject: Re: Performance of autofs/amd-managed directory
Date: Wed, 26 May 2004 08:47:09 -0400	[thread overview]
Message-ID: <40B491CD.1070707@sun.com> (raw)
In-Reply-To: <20040526030234.47115.qmail@web20025.mail.yahoo.com>

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

Kenny Simpson wrote:
> What is the performance penalty for write access to files in a managed
> directory vs. a fstab entry?
> I have a program that is very sensitive to write latency, and am being
> pressured to use amd or automount to access a NAS instead of my trusty
fstab
> entry.
>
> My app uses a transactional log file that resides on a NAS.  I'd
prefer to keep
> a simple fstab entry and use O_DIRECT to access the file, but if there
is no
> penalty, I would switch.  Does O_DIRECT have meaning for automount or
> amd-managed files?  (isn't amd user-space, so it would need to copy data
> anyway?)
>

As Ian already pointed out, automount simply mounts filesystems in place
when requested and does not affect any file access fast-paths.

Similarly, amd also simply mounts the NFS filesystems, albeit in a
different location and uses symlinks to redirect the user.  This has the
side-effect that a chdir('..') will drop you in a different directory.

As long as you have O_DIRECT support in your NFS client, neither
solution will have any real adverse effects on your transactional log.

- --
Mike Waychison
Sun Microsystems, Inc.
1 (650) 352-5299 voice
1 (416) 202-8336 voice
mailto: Michael.Waychison@Sun.COM
http://www.sun.com

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NOTICE:  The opinions expressed in this email are held by me,
and may not represent the views of Sun Microsystems, Inc.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAtJHNdQs4kOxk3/MRAuBmAJ9Ax8CPblvJOiil5CNvFJYerkyMSACeL3wI
ckLOQO+1oIecf0q2Ujoqwe8=
=Z5rB
-----END PGP SIGNATURE-----

      parent reply	other threads:[~2004-05-26 12:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-26  3:02 Performance of autofs/amd-managed directory Kenny Simpson
2004-05-26  5:28 ` Ian Kent
2004-05-26 12:47 ` Mike Waychison [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=40B491CD.1070707@sun.com \
    --to=michael.waychison@sun.com \
    --cc=autofs@linux.kernel.org \
    --cc=theonetruekenny@yahoo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.