NCR SDMS NetWare Tuning Guide Page 1 Table Of Contents 1. Introduction........................................... 2 1.1. Peripheral Device Dependent Optimizations ......... 2 1.2. Flexibility........................................ 2 1.3. Overall System Optimization........................ 2 2. Loading the NCR SDMS NetWare drivers................... 3 2.1. If using NetWare 3.1X.............................. 3 2.2. If using NetWare 4.XX.............................. 3 2.3. General Information................................ 3 3. Memory Allocation...................................... 4 4. Command Line Options Description....................... 5 4.1. Information Options................................ 5 4.1.1. Verbose Mode................................... 5 4.1.2. Help Mode...................................... 5 4.2. Device Oriented Options............................ 6 4.2.1. Tag Command Queuing............................ 6 4.2.2. Depth of Queue Tags............................ 6 4.2.3. Base Timeout................................... 7 4.2.4. Sorting of Read requests....................... 7 4.3. Flexibility Options................................ 8 4.3.1. Shared Interrupts.............................. 8 4.3.2. Exclusion of Devices........................... 8 4.3.3. Wide SCSI...................................... 9 4.3.4. Maximum Host Adapters......................... 9 4.3.5. Maximum SCSI IDs............................... 10 4.3.6. Maximum LUNs................................... 10 4.4. System Optimizing Options.......................... 10 5. Information Pertaining to a Specific Driver............ 11 NCR SDMS NetWare Tuning Guide Page 2 1. Introduction A number of different command line options are provided with the NCR SDMS device drivers for NetWare. These parameters allow users to fine tune their system for high performance and greater flexibility. Considerations during the design of the drivers included the behavior of the host systems, the peripherals, the different software components co-existing within the system, and the drivers themselves. Most system configurations will have certain features that should be addressed by the SDMS drivers to achieve the best possible overall performance for the system. Some examples of the parameters which may be tuned in the driver are listed below, along with the impact the tuning parameter may have on a system given a particular functionality, or lack thereof. In parentheses following the example are the driver options associated with the example. 1.1. Peripheral Device Dependent Optimizations: Some devices support tagged queue commands very efficiently, e.g. AT&T’s (formerly NCR) disk array subsystems, while others show a significant degradation in performance when a number of queued requests exceeds a certain value. (qtags, qdepth) Most disk drives have an onboard read cache that is used by the drive controller to read ahead data. The driver may take advantage of this cache by maximizing the cache hits and ensuring a higher data transfer rate. However, there are devices that do not have an onboard cache, and implementation of the performance algorithm results in a greater processing overhead with no advantage, and as such an overall performance degradation. (sort) Devices differ in their response times to requests. To ensure that the driver can handle devices with various response times, an option to tune the timeout value is available.(timeout) 1.2. Flexibility In order to allow flexibility of control of devices on the system, an option is provided to determine which of the devices the driver needs to exclude from taking control over. This allows independent software vendors to provide value added applications to directly control certain devices (e.g. Backup applications) via the ASPI or the CAM interface. (xcl) For embedded systems, or other systems with fixed configura- tions, a user can limit the amount of dynamically allocated memory by choosing to set maximum limits on the number of host adapters, devices and logical units to support. (max_hbas, max_id, max_lun) 1.3. Overall System Optimization A driver designed for a networked file server environment also has to optimize the performance in tandem with the other components of the system. In order to avoid monopoly on the I/O bus, users can configure the size of the blocks for transfer across the SCSI bus, ensuring that other components get fair access to the I/O bus. (max_kb) NCR SDMS NetWare Tuning Guide Page 3 2. Loading the NCR SDMS NetWare drivers 2.1. NetWare 3.1X The following files should be copied to the directory in which the server.exe file resides: NCRSDMS3.DSK - For general support of SCSI disk and CD-ROM devices attached to NCR based PCI-SCSI controllers, such as embedded controllers on the motherboard utilizing the NCR 53C800 family of integrated circuits. (NCR 53C810, 53C815, 53C820, 53C825 chips) and the NCR family of PCI Host Bus Adapters (8100S, 8150S, 8250S, 8251S, 8251D, etc.). ASPICAM3.NLM - For ASPI programming interface support, including tape support. At the NetWare 3.1X prompt, type in load NCRSDMS3 load ASPICAM3 (Only necessary if ASPI support is desired) 2.2. NetWare 4.XX The following files should be copied to the directory in which the server.exe file resides: NCRSDMS4.DSK - For general support of SCSI disk and CD-ROM devices attached to NCR base PCI-SCSI controllers, such as embedded controllers on the motherboard utilizing the NCR 53C800 family of integrated circuits. (NCR 53C810, 53C815, 53C820, 53C825 chips), and the NCR family of PCI Host Bus Adapters (8100S, 8150S, 8250S, 8251S, 8251D, etc.). NCRSDMS4.DDI - For NetWare 4.XX Installation Support. ASPICAM4.NLM - For ASPI programming interface support, including tape support. At the NetWare 4.XX prompt, type in load NCRSDMS4 load ASPICAM4 (Only necessary if ASPI support is desired) 2.3. General Information These drivers may be loaded only once. If any changes are necessary to the driver options, then the drivers must be unloaded and then reloaded with the appropriate options. If these changes are to be permanent, and the drivers are loaded automatically at server boot time, then these options must also be specified in the startup.ncf file. For more information on installing and using the NCR SDMS NetWare drivers, please refer to the NetWare section in the SCSI Device Management System NCR SDMS 3.0 User’s Guide. NCR SDMS NetWare Tuning Guide Page 4 3. Memory Allocation The driver allocates memory for certain structures based upon the maximum number of SCSI IDs (max_id), LUNs (max_lun) and paths (max_hbas) that may be used in the system. The amount of memory allocated is based on the following formula: 437 bytes of memory are allocated for the structure, so Memory allocated = 437 * max_hbas * max_lun * max_id. So for default allocations, the amount of memory allocated is: Memory allocated = 437 * 8 * 4 * 32 = 447,448 bytes = 437 KB If, for example, only one host adapter is installed (or using an NCR based PCI-SCSI embedded controller and no add in HBAs), only one LUN per device will be used, and the bus is narrow (e.g. max. 8 SCSI IDs), then by setting the appropriate options, the amount of memory allocated will be: Memory allocated = 437 * 1 * 1 * 8 = 3496 bytes, approximately 3.4 KB NCR SDMS NetWare Tuning Guide Page 5 4. Command Line Options Description The NCRSDMS3.DSK and NCRSDMS4.DSK drivers have many tuning parameters. (At this time there are no command line options for the ASPICAM3.NLM or ASPICAM4. NLM drivers.) Following is a list of tuning parameters available, including the default option and a list of valid options. Following each parameter is a description of when a parameter should be used and any impact its use/disuse might incur. If an option is specified but the assignment is not valid, then the default value will be used. The NCRSDMS3.DSK and NCRSDMS4.DSK drivers will be referred to in the remainder of this document as NCRSDMSX.DSK, where X refers to the appropriate NetWare operating system version. The options described below are used by placing the specified characters on the load command line for the NCRSDMS driver. For example, if the Verbose Mode command line option is desired in NetWare 3.1X, the load command line should look like this: load NCRSDMS3 -v 4.1. Information Options 4.1.1. Verbose Mode: Command line option: -v Function: Display the current settings of all driver options. This option will indicate the option settings for this load of the driver. 4.1.2. Help Mode: Command line option: -? or -h Function: Display the options available in the driver. Possible Impact: The driver will not load with -? or -h specified. This option may be specified on the command line for a brief description of each of the options available in the driver, as well as valid values for each option. If the -? and other options are specified, the help screen will be invoked, the other options will be ignored and the driver will not be loaded. NCR SDMS NetWare Tuning Guide Page 6 4.2. Device Oriented Options: 4.2.1. Tag Command Queuing: Command line option: qtags=