home *** CD-ROM | disk | FTP | other *** search
/ Network Support Encyclopedia 96-1 / novell-nsepro-1996-1-cd2.iso / download / netware / prtime.exe / PRTIME.TXT < prev   
Text File  |  1993-09-17  |  5KB  |  113 lines

  1.  
  2.               NOVELL TECHNICAL INFORMATION DOCUMENT
  3.  
  4. TITLE:              Expedite Print Jobs at the Server
  5. DOCUMENT ID:        TID000303
  6. DOCUMENT REVISION:  A
  7. DATE:               01JUL93
  8. ALERT STATUS:       Yellow
  9. INFORMATION TYPE:   Symptom Solution
  10. README FOR:         PRTIME.EXE
  11.  
  12. NOVELL PRODUCT and VERSION:
  13. NetWare Pre 3.11 and 2.2
  14.  
  15. ABSTRACT:
  16. This file contains a patch for NetWare v2.1 and above.  The patch allows
  17. you to speed up the printer response time to new print queue jobs for
  18. printers attached to the server.
  19. _________________________________________________________________
  20.  
  21. DISCLAIMER
  22. THE ORIGIN OF THIS INFORMATION MAY BE INTERNAL OR EXTERNAL TO NOVELL. 
  23. NOVELL MAKES EVERY EFFORT WITHIN ITS MEANS TO VERIFY THIS INFORMATION. 
  24. HOWEVER, THE INFORMATION PROVIDED IN THIS DOCUMENT IS FOR YOUR INFORMATION
  25. ONLY.  NOVELL MAKES NO EXPLICIT OR IMPLIED CLAIMS TO THE VALIDITY OF THIS
  26. INFORMATION.
  27. _________________________________________________________________
  28.  
  29. Self-Extracting File Name:  PRTIME.EXE
  30.  
  31. Files Included     Size     Date        Time
  32.  
  33.   PRTIME.TXT          (This File)
  34.    PATCH.EXE      17475    2-15-89      3:40p
  35.  
  36.  
  37. ** DISCLAIMER **
  38.  
  39. This patch is not a NOVELL supported patch.  It was done by the NOVELL API
  40. Consulting Group for use by the public for their convenience.
  41.  
  42. Use at your own risk.
  43.  
  44. *****************
  45.  
  46. This file describes use of the enclosed patch, which allows one to change
  47. the print server task timeout value.  This patch can be used to speedup the
  48. time it takes from placing a print job in the queue to printing it on a
  49. printer attached to the NOVELL file server, or for speeding up printing in
  50. general for NetWare versions 2.1 to 2.15 (and perhaps some later version
  51. that is not major revisions of the operating system software).
  52.  
  53.  
  54. After v2.1 of NetWare, a separate program (task) runs in the NETWARE file
  55. server to service print queues and send data from a job in a queue to a
  56. printer.  This print server task typically will startup, service any queue
  57. jobs and put itself to sleep.  It is necessary that it put itself to sleep,
  58. otherwise it can take so much CPU time that it significantly affects server
  59. performance.
  60.  
  61. NetWare provide no method to configure the timeout count (how long the
  62. print server task wait to wake up and service the queues again) the print
  63. server task will use.  By default, the print server task will put itself to
  64. sleep for approximately 20 seconds.  Fast printers that can take data at a
  65. faster rate or for networks where it is important that the print server
  66. respond immediately to a new job in a queue, 20 seconds may be too long.
  67.  
  68. The patch provided here allows one to change the hardcoded timeout value
  69. for the print server task in the NetWare Operating System. The patch is
  70. done on a NetWare OS .obj file before the operating system is gen'd.
  71.  
  72. The .obj file to be modified depends on what version of NetWare you have.
  73. The file will be of the form *_1.obj.  For v2.12 SFT the file is SFT_1.OBJ
  74. in the SFTOBJ subdirectory.  If you are gen'ing from floppy disk, you will
  75. have to find this subdirectory in the distribution disks.  For v2.12 TTS
  76. the file is TTS_1.obj in subdirectory TTSOBJ.  The patch should work on any
  77. version of 2.1 or after, but we have only tried it on 2.12 and 2.15.
  78.  
  79. To run the patch on the SFT_!.OBJ file you should first make a backup copy
  80. of your original .OBJ file.  Then you can execute a DOS command line of the
  81. form:
  82.  
  83. patch sft_1.obj prtime.txt
  84.  
  85. If the patch.exe file finds the byte pattern and finishes successfully, it
  86. will print a message saying so.  If you would like more information on what
  87. the patch.exe file does, you can run patch.exe with no parameters and it
  88. will print out a small help screen.
  89.  
  90. The patch.exe is a generic search and alter program. The main patch logic
  91. is in prtime.txt.  The third line of prtime.txt is the new timeout value to
  92. be used.  It is in lo-hi format in hexidecimal.  The line "3C 00" is really
  93. 0x003C in hexidecimal or 60 in decimal.  Since this program figures
  94. approximately 20 time ticks per second, this patch gives a timeout delay of
  95. approximately 3 seconds.  To set the timeout to some other value, you need
  96. to modify the third line to the correct hexidecimal value.
  97.  
  98. For example, a timeout of 5 seconds is 5 * 20 = 100 timer ticks and the
  99. third line should be changed to "64 00".  For a timeout of 8 seconds the
  100. third line should read "A0 00".  For a timeout of 10 seconds the third line
  101. should read "C8 00", and for a timeout of 15 seconds the third line should
  102. read "2C 01".
  103.  
  104. ** DISCLAIMER **
  105.  
  106. This patch is not a NOVELL supported patch.  It was done by the NOVELL API
  107. Consulting Group for use by the public for their convenience.
  108.  
  109. Use at your own risk.
  110.  
  111. *****************
  112.  
  113.