From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fe50f,87a6bf60c4b7a678 X-Google-Attributes: gidfe50f,public X-Google-Thread: fee84,87a6bf60c4b7a678 X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-03-03 09:23:31 PST Xref: gmd.de comp.unix.osf.osf1:2406 comp.protocols.nfs:5744 Path: gmd.de!xlink.net!howland.reston.ans.net!math.ohio-state.edu!sdd.hp.com!think.com!barmar From: barmar@think.com (Barry Margolin) Newsgroups: comp.unix.osf.osf1,comp.protocols.nfs Subject: Re: NFS automounter Date: 3 Mar 1994 17:23:31 GMT Organization: Thinking Machines Corporation, Cambridge MA, USA Message-ID: <2l56ejINNnpe@early-bird.think.com> References: <2l13n1$42l@disun41.epfl.ch> NNTP-Posting-Host: telecaster.think.com 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