Compaq 108164-003 - ProLiant - 800 White Paper

Configuration and tuning of sybase system 11 for netware on compaq servers
Hide thumbs Also See for 108164-003 - ProLiant - 800:
Table of Contents

Advertisement

Configuration and Tuning of Sybase System
11 for NetWare on Compaq Servers
White Paper
________________________________________________________________
Prepared By
Database Engineering
Compaq Computer Corporation
August 1996

Advertisement

Table of Contents
loading

Summary of Contents for Compaq 108164-003 - ProLiant - 800

  • Page 1 Configuration and Tuning of Sybase System 11 for NetWare on Compaq Servers White Paper ________________________________________________________________ Prepared By Database Engineering Compaq Computer Corporation August 1996...
  • Page 2 This test is not a determination of product quality or correctness, nor does it ensure compliance with any federal, state or local requirements. Compaq does not warrant products other than its own strictly as stated in COMPAQ product warranties.
  • Page 3: Table Of Contents

    Configuration and Tuning of Sybase System 11 for NetWare on Compaq Servers Page i Table of Contents Introduction............................1 Tuning Goals............................2 System Processor Planning ........................2 Initial CPU Recommendations ...................... 2 Memory Planning..........................3 Initial Memory Recommendations for Sybase ................3 Estimating Memory Requirements for Sybase ................
  • Page 4 Page ii Configuration and Tuning of Sybase System 11 for NetWare on Compaq Servers File System........................... 17 volume block size........................17 enable file compression......................17 sub-block allocation ....................... 17 enable disk read after write verify ..................17 immediate purge of deleted files..................... 18 file delete wait time........................
  • Page 5: Introduction

    Sybase SQL Server 11 for Novell NetWare on the Compaq ProLiant family of servers. It is our desire to deliver the best technical information possible on a specific topic in a timely manner and in a highly useable format. Any comments, suggestions and feedback are always appreciated.
  • Page 6: Tuning Goals

    Page 2 Configuration and Tuning of Sybase System 11 for NetWare on Compaq Servers Tuning Goals To achieve the best system performance possible, there are several factors which you must review. These factors include optimization of the hardware, the Sybase SQL Server, the operating system, and the application software.
  • Page 7: Memory Planning

    Configuration and Tuning of Sybase System 11 for NetWare on Compaq Servers Page 3 Memory Planning The amount of memory in the server will have a great impact on the overall performance of the Sybase SQL Server. For NetWare servers dedicated as Sybase SQL Servers there should be a minimum of 10% free buffers are reported by the NetWare monitor utility.
  • Page 8 Page 4 Configuration and Tuning of Sybase System 11 for NetWare on Compaq Servers For Sybase Monitor Server Module NetWare 4KB buffers Monitor Server Total Total in MB 48 MB SQL Server + 4 MB Backup Server + 2 MB Monitor Server = 54 MB total System Add to this 51KB for each user connection beyond the initial default of 25 user connections.
  • Page 9: Disk Subsystem Planning

    Sybase page is 2 KB in size. Disk Subsystem Planning The objective of this section is to provide information on the benefits of the Compaq SMART and SMART-2 SCSI Array Controller Array Accelerator and the pros and cons of various fault tolerance methods.
  • Page 10: Write Cache

    Page 6 Configuration and Tuning of Sybase System 11 for NetWare on Compaq Servers Write Cache When the Array Accelerator performs write caching, the drive controller writes data to the cache memory on the Array Accelerator rather than directly to the drives. The system can access this cache memory more than 100 times faster than accessing disk storage.
  • Page 11: Integrity Of Cached Data In The Array Accelerator

    The data will be written to disk upon power up. Configuring the Array Accelerator The Array Accelerator of the SMART SCSI Array controller is configured via the Compaq System Configuration Utility. The Array Accelerator of the SMART-2 Array controller is configured via the Compaq Array Configuration Utility or the Compaq Array Configuration Utility for NetWare.
  • Page 12 Page 8 Configuration and Tuning of Sybase System 11 for NetWare on Compaq Servers The figure below shows how to enable/disable the Array Accelerator for a particular logical drive. Using the Array Configuration Utility, highlight the appropriate logical volume and use the “Logical Drive/Modify...”...
  • Page 13: Fault Tolerance Considerations

    Configuration and Tuning of Sybase System 11 for NetWare on Compaq Servers Page 9 Fault Tolerance Considerations Your transaction log needs to always be protected against a disk failure. Most mission critical sites protect both the transaction log and the database devices and they usually choose hardware- based fault tolerance.
  • Page 14: Network Planning

    Page 10 Configuration and Tuning of Sybase System 11 for NetWare on Compaq Servers Sybase SQL Server supports both serial and nonserial write mode of mirroring. When utilizing the default, serial write mode, writes to the first device must finish before writes to the second device begin.
  • Page 15: Network Interface Controller

    Configuration and Tuning of Sybase System 11 for NetWare on Compaq Servers Page 11 “yes”. From the Internetworking Configuration, Protocols, TCP/IP selection screen display, disable the IP Packet Forwarding setting. The changes are saved in the sys:etc\initsys.ncf file. Restart the server for these changes to take effect.
  • Page 16: Estimating Memory Requirements For Stored Procedures

    Page 12 Configuration and Tuning of Sybase System 11 for NetWare on Compaq Servers Sybase System 11 on NetWare 4.10 1.00 30.00% 1.00 0.90 27.00% 0.91 25.00% 0.80 0.70 0.73 20.00% 0.60 0.56 0.50 15.00% 0.40 10.00% 0.30 9.00% 0.20 5.00%...
  • Page 17: Separate Sequential And Random I/O's

    I/O rates that do not exceed recommendations. This is best achieved by using the disk striping available with the Compaq SMART SCSI Array Controller and SMART-2 SCSI Array Controller. Spreading out the disk requests among many disks allows a high degree of parallelism to occur on accesses.
  • Page 18: Checking Disk I/O Rate

    Page 14 Configuration and Tuning of Sybase System 11 for NetWare on Compaq Servers measured rates of up to 90 random I/Os per second per drive, some of which were being temporarily cached by the Array Accelerator. Checking Disk I/O Rate Try not to overload any individual disk with random I/Os.
  • Page 19: Network Tuning

    Experimentation will be necessary to determine the optimal setting for your environment. Compaq System Configuration The Compaq System Configuration utility is used to set the initial hardware configuration of the Compaq server. The Compaq SmartStart installation process will automatically set the following hardware configuration items correctly for you.
  • Page 20: Maximum Service Processes

    If set to low, a process will not be able to load. Typically the initial value set by the Compaq SmartStart installation process is sufficient. Use the Monitor nlm, General Information screen to report on the maximum server processes currently loaded. If this number approaches the current setting consider increasing the initial value for maximum service processes.
  • Page 21: Read Ahead Enabled

    SQL Server volume block size Set the volume block size to 64K during the creation of the volume from the Compaq SmartStart process or from the NetWare Install nlm. This parameter defines the minimum block size that the NetWare file system can allocate to a particular file. Since Sybase bypasses the NetWare file system CLIB routines, changing its value from the suggested size will not affect overall performance.
  • Page 22: Immediate Purge Of Deleted Files

    NetWare issues a message to the console and the NetWare remirror process will be initiated. Typically the setting established by the Compaq SmartStart installation process is acceptable and should not be changed. If you are not using NetWare controller duplexing set the mirrored devices are out of sync message frequency to its maximum value of 9999.
  • Page 23: Communications

    Performance optimization of the NetWare partitions on a SMART or SMART-2 Drive Array can result in a 20 to 40 percent increase in the drive arrays performance. Use the Compaq Drive Array Optimization Utility, Cpqdaopt nlm, to determine the correct Hot Fix Redirection Area settings for the NetWare Partitions.
  • Page 24: Sp_Configure Command

    Page 20 Configuration and Tuning of Sybase System 11 for NetWare on Compaq Servers It is possible to configure the parameters such that you cannot start SQL Server. If this happens, you can use a normal text file editor like Novell Edit to access the sys:\servername.cfg file and set the offending parameter to a more appropriate value.
  • Page 25: Housekeeper Free Write Percent

    Configuration and Tuning of Sybase System 11 for NetWare on Compaq Servers Page 21 deteriorate and become intolerable when a checkpoint occurs. If you set the recovery interval too short, it wastes valuable system processor cycles and generates excessive disk I/O.
  • Page 26: Number Of Sort Buffers

    Page 22 Configuration and Tuning of Sybase System 11 for NetWare on Compaq Servers Increasing the number of extent i/o buffers can speed up the process of creating or re-indexing a table. If you increase the number of extent i/o buffers you will also have to increase the number of sort buffers.
  • Page 27: Installing From Cd-Rom

    Installing From CD-ROM To install Sybase System 11 from the Compaq CD-ROM drive you will need to load the following device drivers either in Startup.ncf or manually before you can access the CD-ROM drive as a NetWare volume.
  • Page 28: System Management Tools

    The Compaq Insight Manager (CIM) consists of two parts the server based operating system agents and a Windows based client. CIM components are located on the Compaq SmartStart and can be installed at the same time as the operating system.
  • Page 29: Conclusion

    Configuration and Tuning of Sybase System 11 for NetWare on Compaq Servers Page 25 Conclusion The information in this paper is not a complete tuning guide but a supplement to other tuning information provided by Sybase and Novell. To achieve an optimal configuration, there are several factors to include.
  • Page 30: Check List Of Recommendations

    Page 26 Configuration and Tuning of Sybase System 11 for NetWare on Compaq Servers Check List of Recommendations Initial recommendations for Sybase SQL Server 11.0.1 system running on Novell NetWare 4.10: Design your database with performance in mind from the start...
  • Page 31 Competitive Analysis SCO UnixWare Oracle 7 Systems Management SCO Open Server Other: Other: Other: Additional Comments: Return to: Database Engineering Compaq Computer Corporation MailCode 090803 20555 SH 249 Houston, Texas 77070 1996 Compaq Computer Corporation, All Rights Reserved Doc No 140A/0896...

Table of Contents