* NFS automounter
@ 1994-03-02 4:12 Stefan Monnier
1994-03-02 13:06 ` Eric Werme USSG
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: Stefan Monnier @ 1994-03-02 4:12 UTC (permalink / raw)
On my alpha here, I noticed that the automounter takes about 4% CPU
time ("ps aux" dixit). And it actually varies more or less accordingly
to dbx's cpu usage (always about half as much).
My dbx is taking alot of CPU time (8%), but it's even worse for
automount. Why is automount taking so much time ?
When does automount work ? Does it catch every single access to the
mounted filesystem ?
Stefan
--
-----------------------------------------------------
-- On the average, people seem to be acting normal --
-----------------------------------------------------
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: NFS automounter 1994-03-02 4:12 NFS automounter Stefan Monnier @ 1994-03-02 13:06 ` Eric Werme USSG 1994-03-02 15:10 ` Stefan Monnier 1994-03-02 16:52 ` pdxjfp 1994-03-03 17:23 ` Barry Margolin 2 siblings, 1 reply; 7+ messages in thread From: Eric Werme USSG @ 1994-03-02 13:06 UTC (permalink / raw) monnier@di.epfl.ch (Stefan Monnier) writes: >On my alpha here, I noticed that the automounter takes about 4% CPU >time ("ps aux" dixit). And it actually varies more or less accordingly >to dbx's cpu usage (always about half as much). You might explain why you are mentioning dbx and automount in the same sentence. The link is not at all obvious, and I've already had a cup of coffee today. :-) >When does automount work ? There are those who say it doesn't work, (or was that lockd)? :-) :-) Seriously, I fixed a lot of automount bugs for DEC OSF/1. Most of the fixes are in V1.2, some more in V1.3. Ultrix will see them in 4.4. Also, I understand you meant "When does automount run?": > Does it catch every single access to the >mounted filesystem ? Do "mount -e". (-e is a DECism that will list automount's "intercept points".) For example: alingo 9% mount -e /dev/rz1a on / type ufs (rw) /dev/rz1g on /usr type ufs (rw) alingo:(pid246) on /usr/qar type nfs (ro, hard, intr, noac, ... alingo:(pid246) on /usr/net type nfs (ro, hard, intr, noac, ... alingo:(pid246) on /home type nfs (ro, hard, intr, noac, ... All those mounts for pid 246 are served by a NFS server that is part of automount. This is a bizarre concept and takes some time to understand. /home is the auto.home indirect map. If I reference /home/werme/Mail/inbox/666, automount runs twice, once to handle a LOOKUP for "werme" and once to handle a READLINK. Once automount mounts a remote file system, it makes the intercept point look like a symbolic link to the remote mount. I.e.: alingo 196% ls -l /home/werme lrwxrwxrwx 1 root system 25 Mar 02 08:24 /home/werme -> /tmp_mnt/home/werme So, "Does it catch every single access to the mounted filesystem?" It will catch every reference to the intercept point, but if you are reading or writing a file, it will not be catching those. If you really, really want to see what automount is doing, and have exclusive access to your alpha, kill automount (just "kill <pid>") and restart it with the "-T -T" option. It will report on stderr all the NFS traffic it handles and what it does with it. You will probably be surprised at how often automount does run. -- Eric (Ric) Werme | werme@zk3.dec.com Digital Equipment Corp. | This space intentionally left blank. ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: NFS automounter 1994-03-02 13:06 ` Eric Werme USSG @ 1994-03-02 15:10 ` Stefan Monnier 0 siblings, 0 replies; 7+ messages in thread From: Stefan Monnier @ 1994-03-02 15:10 UTC (permalink / raw) In article <werme.762613562@alingo.zk3.dec.com>, Eric Werme USSG <werme@zk3.dec.com> wrote: > monnier@di.epfl.ch (Stefan Monnier) writes: > > >On my alpha here, I noticed that the automounter takes about 4% CPU > >time ("ps aux" dixit). And it actually varies more or less accordingly > >to dbx's cpu usage (always about half as much). > > You might explain why you are mentioning dbx and automount in the same > sentence. The link is not at all obvious, and I've already had a cup > of coffee today. :-) I mentionned both because I was running a process under dbx control and automount happened to be using about half as much CPU time as dbx, no matter how much dbx was using (depending on a run-time selectable parameter). When dbx was stopped, automount fell to 0%. When dbx was using 8% CPU, automount was using 4%, etc, etc.. (the correlation was really surprising. Maybe dbx was doing a lot of whole-path-referencing?) Stefan -- ----------------------------------------------------- -- On the average, people seem to be acting normal -- ----------------------------------------------------- ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: NFS automounter 1994-03-02 4:12 NFS automounter Stefan Monnier 1994-03-02 13:06 ` Eric Werme USSG @ 1994-03-02 16:52 ` pdxjfp 1994-03-03 9:13 ` Hans Peter Kluender 1994-03-03 17:23 ` Barry Margolin 2 siblings, 1 reply; 7+ messages in thread From: pdxjfp @ 1994-03-02 16:52 UTC (permalink / raw) Hi I have just read your posting on NFS and automount. I just installed NFS last week on my PC's and the Alpha, but I have found a considerable reduction in the performance in the Mail system - inc now takes upto a minute to incorporate new messsages. Also the dump command runs very slowly on the /usr filesystem. Have you had any of these problem. As to automount I can't even persuade it to load, it says that services are unavailable. Which parameters are you running it with. Sorry I had only questions and no answers john ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: NFS automounter 1994-03-02 16:52 ` pdxjfp @ 1994-03-03 9:13 ` Hans Peter Kluender 1994-03-06 0:31 ` Larry Cannell 0 siblings, 1 reply; 7+ messages in thread From: Hans Peter Kluender @ 1994-03-03 9:13 UTC (permalink / raw) pdxjfp@vaxh.nott.ac.uk wrote: : : I have just read your posting on NFS and automount. I just installed : NFS last week on my PC's and the Alpha, but I have found a considerable : reduction in the performance in the Mail system - inc now takes upto : a minute to incorporate new messsages. Also the dump command runs very slowly : on the /usr filesystem. Have you had any of these problem. : automount is known to be slow and often to block. amd is much faster and more reliable. It is free software under GNU-License. _ _ __ __ __ ______________________________________________ |_|\ \/ // \ / / _ \ // /\ \\ \ Hans Peter Kluender iXOS Software GmbH | | / \\ \ \ \\ \ email jan@ixos.de Bretonischer Ring 12 | |/ /\ \\ \/ /_\ \ Tel +49 89 46005199 D-85630 Grasbrunn |___/ \_\\__/|___/ Fax +49 89 46005185 Germany ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: NFS automounter 1994-03-03 9:13 ` Hans Peter Kluender @ 1994-03-06 0:31 ` Larry Cannell 0 siblings, 0 replies; 7+ messages in thread From: Larry Cannell @ 1994-03-06 0:31 UTC (permalink / raw) Hans Peter Kluender (jan@fleurs) wrote: : : automount is known to be slow and often to block. : amd is much faster and more reliable. : It is free software under GNU-License. : I haven't had any of the described problems with automounter on OSF/1 or Ultrix. We use it extensively for just about everything. -- Larry Cannell (cannell@ed8200.ped.pto.ford.com) Powertrain Electronics Ford Motor Company ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: NFS automounter 1994-03-02 4:12 NFS automounter Stefan Monnier 1994-03-02 13:06 ` Eric Werme USSG 1994-03-02 16:52 ` pdxjfp @ 1994-03-03 17:23 ` Barry Margolin 2 siblings, 0 replies; 7+ messages in thread From: Barry Margolin @ 1994-03-03 17:23 UTC (permalink / raw) In article <2l13n1$42l@disun41.epfl.ch> monnier@di.epfl.ch (Stefan Monnier) writes: >On my alpha here, I noticed that the automounter takes about 4% CPU >time ("ps aux" dixit). And it actually varies more or less accordingly >to dbx's cpu usage (always about half as much). > >My dbx is taking alot of CPU time (8%), but it's even worse for >automount. Why is automount taking so much time ? > >When does automount work ? Does it catch every single access to the >mounted filesystem ? Automount is invoked whenever someone does a lookup of a directory that is mentioned in an automount map. The lookup returns a symbolic link to the real mount point of the file system, so further accesses should bypass the automounter. Does dbx have a list of directories it searches for source files? If this list contains absolute pathnames that go through automount points, then every time it searches the directories it has to invoke the automounter. -- Barry Margolin System Manager, Thinking Machines Corp. barmar@think.com {uunet,harvard}!think!barmar ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~1994-03-06 0:31 UTC | newest] Thread overview: 7+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 1994-03-02 4:12 NFS automounter Stefan Monnier 1994-03-02 13:06 ` Eric Werme USSG 1994-03-02 15:10 ` Stefan Monnier 1994-03-02 16:52 ` pdxjfp 1994-03-03 9:13 ` Hans Peter Kluender 1994-03-06 0:31 ` Larry Cannell 1994-03-03 17:23 ` Barry Margolin
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox