home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / ircd-hyb.zip / README.small_nets < prev    next >
Text File  |  1999-05-26  |  2KB  |  49 lines

  1.   On a stand alone server, make sure you #undef all of
  2. NO_CHANOPS_ON_SPLIT, NO_JOIN_ON_SPLIT, PRESERVE_CHANNEL_ON_SPLIT
  3. NO_JOIN_ON_SPLIT_SIMPLE in config.h Otherwise, you will have trouble
  4. with non opered clients gaining ops in new channels.
  5.  
  6.   ircd-hybrid has been primarily geared for EFnet, where 40k clients
  7. is becoming the norm. But for smaller non EFnet nets, thats going
  8. to cost your server memory, because it will be expecting the large numbers
  9. of clients on EFnet that will never happen on a smaller net.
  10.  
  11.   You can easily tune your hybrid to use less memory on startup
  12. by modifying the file "list.c" in src
  13.  
  14.   These comments will be found in list.c
  15.  
  16. /* Number of Link's to pre-allocate at a time 
  17.    for Efnet 1000 seems reasonable, 
  18.    for smaller nets who knows? -Dianora
  19.    */
  20.  
  21. #define LINK_PREALLOCATE 1024
  22.  
  23. /* Number of aClient structures to preallocate at a time
  24.    for Efnet 1024 is reasonable 
  25.    for smaller nets who knows? -Dianora
  26.    */
  27.  
  28. /* This means you call MyMalloc 30 some odd times,
  29.    rather than 30k times -Dianora
  30. */
  31.  
  32. #define CLIENTS_PREALLOCATE 1024
  33.  
  34.   I suggest you trim these numbers as needed, to fit your estimated
  35. needs. You could use 64 for each for example, on a server that 
  36. normally never saw more than 60 people on the entire network.
  37. Keeping it a multiple of 2 is advisable, but not absolutely
  38. necessary. You will just waste a tiny bit of memory in one of the
  39. bit maps.
  40.  
  41.   Other things to reduce, to use less startup memory.
  42. (from flier@globecom.net) All of these are in config.h
  43.  
  44.    - reduce NICKNAMEHISTORYLENGTH from 15000 to say 1000
  45.    - reduce MAXSENDQLENGTH from 5050000 to 500000
  46.    - reduce INITIAL_DBUFS from 1000 to 300
  47.  
  48.   - Dianora
  49.