Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!zephyr!tektronix!psueea!parsely!sopwith!snoopy From: snoopy@sopwith.UUCP (Snoopy) Newsgroups: comp.unix.wizards Subject: Re: overhead of namei Keywords: namei kernel Message-ID: <217@sopwith.UUCP> Date: 7 Jun 89 01:42:04 GMT References: <106326@sun.Eng.Sun.COM> <395@amc-gw.UUCP> <5021@stiatl.UUCP> <400@amc-gw.UUCP> <201@sopwith.UUCP> <1245@muffin.cme.nbs.gov> Reply-To: snoopy@sopwith.UUCP (Snoopy) Organization: The Daisy Hill Puppy Farm Lines: 34 In article <1245@muffin.cme.nbs.gov> libes@cme.nbs.gov (Don Libes) writes: |In article <201@sopwith.UUCP> snoopy@sopwith.UUCP (Snoopy) writes: |>"With the addition of the two caches, the percentage of system time |>devoted to name translation dropped from 25 percent to less than 10 |>percent." |> |> _The Design and Implementation of the 4.3BSD UNIX Operating System_ |> by Leffler, McKusick, Karels, and Quarterman |> |>It appears that namei() soaks up more cycles than one might expect. | |You misunderstood the quote. It doesn't say anything about percentage |of *total* system time. From the beginning of section 7.8: "Profiling studies show that nearly one-quarter of the time in the kernel is spent in the pathname-translation routine, namei(), translating pathnames to inodes." Then they tell what namei() does, and how they added caches to make it faster, and finally give the results quoted above (25% -> 10%). If I misunderstood, I still do. If they aren't refering to the total system time, what *are* they refering to? _____ .-----. /_____\ Snoopy ./ RIP \. /_______\ qiclab!sopwith!snoopy | | |___| parsely!sopwith!snoopy | tekecs | |___| sun!nosun!illian!sopwith!snoopy |_________| "I *was* the next man!" -Indy