home *** CD-ROM | disk | FTP | other *** search
- Path: usage.csd.unsw.oz.au!metro!munnari.oz.au!samsung!umich!terminator!dabo.citi.umich.edu!rees
- From: rees@dabo.citi.umich.edu (Jim Rees)
- Newsgroups: comp.sys.apollo
- Subject: Re: mysterious hint file on HP/Domain/OS
- Keywords: hint
- Message-ID: <50cad431.cb12@dabo.citi.umich.edu>
- Date: 5 Apr 91 14:32:14 GMT
- References: <885@imec.UUCP>
- Sender: usenet@terminator.cc.umich.edu (usenet news)
- Reply-To: rees@citi.umich.edu (Jim Rees)
- Organization: University of Michigan IFS Project
- Lines: 41
-
- In article <885@imec.UUCP>, fleureck@imec.be (Marc Fleureck) writes:
-
- On Domain/OS SR10.2 some machines seem to have a problem with the file
- /sys/node_data/hint_file. For example, if I log out ( under DM ) on the
- machine itself, then go home to drink a cup of coffee and come back,
- I MIGHT be able to login again because the DM does not yet display its
- login pad. In short, logout is terribly SLOW.
- Solution : remove the hint file and reboot the machine.
-
- When you want to open a file, Domain/OS first translates the name into a uid
- (like a dev/inode). Then it has to locate the node holding that object. In
- the old, old days, that was easy, because the uid contains the node id of
- the node on which it was generated.
-
- Then removable (floppy) disks came along, and it got harder. Now you could
- create a disk on one node, then mount it on another. To find the objects on
- that disk you have to go to a different node from the one identified in the
- object uid. Fortunately, the only way to get an object uid (usually) is by
- resolving a name, and when you resolve a name you start at a known place and
- work your way down, accumulating location information as you go. Domain/OS
- caches this location information in the hint_file so that when you go to
- open (map) the object, it can be found.
-
- Then internets came along, and it got way harder. Now the hint file had to
- be changed to hold network numbers as well as node ids. The bad news is
- that the hint file doesn't get flushed when it should, and stale information
- is sometimes used after a floppy changes nodes or a node changes networks.
- In general, you need to remove all hint files and reboot all nodes whenever
- a node moves from one network to another, or net numbers change.
-
- Things become slow because when Domain/OS has to try a remote network to
- locate an object, it doesn't get a nack as it does on the local network.
- Instead it has to time out. If it has to time out several remote networks,
- it can take a long time.
-
- The hint file code is old and crufty and probably could use some work.
-
- If you find that you have to remove the hint file at times when you haven't
- changed your network topology, then something else may be wrong. Check to
- see that your nodes are cataloged correctly, with the right net id, in the
- network root name server.
-