home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / unix / misc / 5007 < prev    next >
Encoding:
Text File  |  1993-01-25  |  3.4 KB  |  102 lines

  1. Newsgroups: comp.unix.misc
  2. Path: sparky!uunet!cs.utexas.edu!torn!nott!bnrgate!bcars6a8!bcara347!marmen
  3. From: marmen@bcara347.bnr.ca (Rob Marmen 1532773)
  4. Subject: Re: NIS - Problems on what systems?
  5. Message-ID: <1993Jan25.145138.5289@bcars6a8.bnr.ca>
  6. Summary: One Nasty Prob
  7. Sender: usenet@bcars6a8.bnr.ca (Use Net)
  8. Nntp-Posting-Host: bcara347
  9. Organization: Bell-Northern Research, Ottawa, Canada
  10. References: <947@wavefront.wti.com>
  11. Distribution: usa
  12. Date: Mon, 25 Jan 1993 14:51:38 GMT
  13. Lines: 87
  14.  
  15. In article <947@wavefront.wti.com>, kate@wavefront.wti.com (Kathy Samec) writes:
  16. > What sorts of problems have any of you seen with a heterogeneous network
  17. > and Different YP(NIS) servers? Is it really all it's hyped up to be?
  18.  
  19. We have a mix of HPs, Suns and IBMs, and have several NIS domains. The
  20. largest domain services about 4000 machines and has about 80 servers.
  21.  
  22. The biggest problem that I have is the inefficiency of the getpw* and
  23. getgr* routines by all the vendors. We setup accounts as individual
  24. '+' entries in the passwd file. Consequently, a getpwuid call will
  25. generate a NIS request for each entry in the passwd file. This causes
  26. slowdowns for the user. In some cases, telnets can timeout before a
  27. user complete the login process.
  28.  
  29. The vendors position is that the software is working as designed, and
  30. they don't see any reason to change.
  31.  
  32. Here is the output of a network trace showing the usage on a
  33. particular subnet. The traffic was logged around 10 AM. The duration
  34. was three minutes.
  35.  
  36.    4804 NFS
  37.    2345 YP
  38.    1351 XWIN
  39.    1169 UDP
  40.     538 RSTAT
  41.     345 TCP
  42.     161 RLOGIN
  43.     122 ARP
  44.      81 DLC,
  45.      40 ATP
  46.      35 RPC
  47.      30 RIP
  48.      19 SNMP
  49.      14 PMAP
  50.      12 MOUNT
  51.       9 RTMP
  52.       6 Telnet
  53.       4 Ethertype=8005
  54.       4 DSAP=FC,
  55.       3 Ethertype=8019
  56.       2 ECHO
  57.       1 BOOTP
  58. ------------------
  59.    11,095 Total
  60.  
  61. Please note that about 21 percent of all lan traffic is just NIS/YP
  62. traffic.
  63.  
  64. If we further breakdown the NIS traffic by type, then we get the
  65. following distribution.
  66.  
  67.      1172 OK                        (replies from the yp slave)
  68.       912 bnrottawa.passwd.byname   (direct key lookups)
  69.       234 bnrottawa.services.byname (getservbyname call ) see note
  70.        11 bnrottawa.netgroup.byhost (direct key lookups)
  71.        10 bnrottawa.hosts.byname    (direct key lookups)
  72.         4 bnrottawa.hosts.byaddr    (direct key lookups)
  73.         1 service                   (domain request)
  74.         1 nothing                   (do nothing)
  75. -------------------------------
  76.      2345 Total
  77.  
  78. note: Suns do sequential searches of the services.byname map. This is
  79.       replaced by a single lookup on HPs. The spike in
  80.       services.byname traffic is due to the Sun workstations.
  81.  
  82. From the table, 78 percent of all NIS requests were for a single key
  83. lookup from the passwd map. If 21 percent of all packets were NIS
  84. related, then passwd specific lookups make up for around 16 percent
  85. of the total number of packets in the snapshot.
  86.  
  87. This is surprising since we always suspected that the services.byname
  88. traffic was responsible for the majority of the lan traffic.
  89.  
  90. NIS would be more efficient if the routines were rewritten to minimize
  91. network traffic.
  92.  
  93. Hope that this helps.
  94.  
  95. Rob...
  96.  
  97. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  98. | Robert Marmen             marmen@bnr.ca  OR             |
  99. | Bell Northern Research    marmen%bnr.ca@cunyvm.cuny.edu |
  100. | (613) 763-8244         My opinions are my own, not BNRs |
  101.