O RedBook esta dividido em 5 partes:
Parte 1: Explica a tecnologia implementada nos servidoes IBM xSeries e mostra quais configurações podem ser realizadas ou ajustadas para obter a melhor performance.
Parte 2: Descreve os aspectos de performance dos sistemas operacionais: Windows Server 2003, Linux e Netware.
Parte 3: Faz uma introdução a ferramentas de monitoração de performance que estão disponíveis para usuáriosdos servidores IBM xSeries.
Parte 4: Mostra a você como analisar seu sistema para encontrar gargalos de performance e como fazer para eliminá-los.
Parte 5: Analisa as características de performance de servidores de aplicações específias, entre eles o SQL Server.
Esta é uma excelente documentação e recomendo no mínimo a leitura dos dois capítulos abaixo:
Part 2. Operating systems
Chapter 9. Microsoft Windows. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 227
9.1 Processor scheduling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 229
9.2 Virtual memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 230
9.2.1 Configuring the pagefile for maximum performance gain . . . . . . . . 232
9.2.2 Creating the pagefile to optimize performance . . . . . . . . . . . . . . . . 234
9.2.3 Measuring pagefile usage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 234
9.3 File system cache . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235
9.3.1 Servers with large physical memory . . . . . . . . . . . . . . . . . . . . . . . . 239
9.4 Disabling or removing unnecessary services . . . . . . . . . . . . . . . . . . . . . 239
9.5 Removing unnecessary protocols and services . . . . . . . . . . . . . . . . . . . 242
9.6 Optimizing the protocol binding & provider order . . . . . . . . . . . . . . . . . . 244
9.7 Optimizing network card settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 246
9.8 Process scheduling, priority levels and affinity . . . . . . . . . . . . . . . . . . . . 250
9.8.1 Process affinity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 253
9.9 Assigning interrupt affinity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 255
9.10 The /3GB BOOT.INI parameter. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 256
9.11 Using PAE and AWE to access memory above 4 GB. . . . . . . . . . . . . . 257
9.11.1 Interaction of the /3GB and /PAE switches . . . . . . . . . . . . . . . . . . 259
9.12 Tuning TCP/IP. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 260
9.12.1 TCP window size. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 261
9.12.2 Large TCP window scaling and RTT estimation (timestamps) . . . 262
9.12.3 TCP connection retransmissions . . . . . . . . . . . . . . . . . . . . . . . . . 263
9.12.4 TCP data retransmissions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 264
9.12.5 TCP TIME-WAIT delay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 265
9.12.6 TCP Control Block (TCB) table . . . . . . . . . . . . . . . . . . . . . . . . . . . 266
9.12.7 TCP acknowledgement frequency . . . . . . . . . . . . . . . . . . . . . . . . 267
9.12.8 Maximum Transmission Unit (MTU) . . . . . . . . . . . . . . . . . . . . . . . 268
9.12.9 Path Maximum Transmission Unit (PMTU) Discovery . . . . . . . . . 271
9.13 Other registry optimizations. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 272
9.13.1 Disable kernel paging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 272
9.13.2 Optimize the Paged Pool Size . . . . . . . . . . . . . . . . . . . . . . . . . . . 273
9.13.3 Increase memory available for I/O locking operations . . . . . . . . . 274
9.13.4 Increase work items & network control blocks . . . . . . . . . . . . . . . 276
9.13.5 Disable NTFS last access updates . . . . . . . . . . . . . . . . . . . . . . . . 277
9.13.6 Disable short-file-name (8.3) generation. . . . . . . . . . . . . . . . . . . . 278
9.14 Other performance optimization techniques . . . . . . . . . . . . . . . . . . . . . 279
9.14.1 Dedicate server roles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 279
9.14.2 Run system intensive operations outside peak times . . . . . . . . . . 279
9.14.3 Log off the server console. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 279
9.14.4 Remove CPU-intensive screen savers . . . . . . . . . . . . . . . . . . . . . 279
9.14.5 Use NTFS on all volumes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 280
9.14.6 Do not use NTFS file compression . . . . . . . . . . . . . . . . . . . . . . . . 280
9.14.7 Monitor drive space utilization. . . . . . . . . . . . . . . . . . . . . . . . . . . . 280
9.14.8 Use disk defragmentation tools regularly . . . . . . . . . . . . . . . . . . . 281
9.14.9 Use auditing and encryption judiciously . . . . . . . . . . . . . . . . . . . . 282
9.14.10 Use the latest drivers, firmware and service packs. . . . . . . . . . . 282
9.14.11 Avoid the use of NET SERVER CONFIG commands. . . . . . . . . 282
9.14.12 Monitor system performance appropriately. . . . . . . . . . . . . . . . . 286
Part 5. Applications
Chapter 26. Microsoft SQL Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 845
26.1 Features of Microsoft SQL Server. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 846
26.2 SQL Server editions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 847
26.2.1 Features of SQL Server 2000, Enterprise Edition. . . . . . . . . . . . . 848
26.2.2 Features of SQL Server 2000, Standard Edition. . . . . . . . . . . . . . 848
26.3 Which version of Windows to use with SQL Server . . . . . . . . . . . . . . . 849
26.4 The database environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 849
26.5 SQL Server performance tuning basics . . . . . . . . . . . . . . . . . . . . . . . . 850
26.6 Server subsystems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 851
26.6.1 Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 851
26.6.2 Disk . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 852
26.6.3 Processor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 853
26.6.4 Network . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 853
26.6.5 Hardware tuning versus application and database design . . . . . . 854
26.7 Scaling SQL Server. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 854
26.8 Optimizing Windows for SQL Server. . . . . . . . . . . . . . . . . . . . . . . . . . . 855
26.8.1 Processor scheduling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 855
26.8.2 System cache . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 856
26.8.3 Virtual memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 857
26.9 SQL Server subsystem optimization . . . . . . . . . . . . . . . . . . . . . . . . . . . 859
26.9.1 Memory configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 859
26.9.2 Processor configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 861
26.9.3 Disk configuration and file distribution. . . . . . . . . . . . . . . . . . . . . . 865
26.10 Further SQL Server optimizations . . . . . . . . . . . . . . . . . . . . . . . . . . . . 867
26.10.1 Max async I/O . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 867
26.10.2 LazyWriter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 868
26.10.3 Checkpoint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 869
26.10.4 Log manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 871
26.10.5 Read-ahead manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 871
26.10.6 Address Windowing Extensions (AWE) support . . . . . . . . . . . . . 873
26.11 SQL Server indexes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 874
26.11.1 Non-clustered indexes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 875
26.11.2 Clustered indexes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 876
26.11.3 Covering indexes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 876
26.11.4 Automatic covering indexes or covered queries . . . . . . . . . . . . . 877
26.11.5 Index selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 877
26.11.6 Clustered index selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 878
26.11.7 Importance of FILLFACTOR and PAD_INDEX. . . . . . . . . . . . . . 880
26.12 SQL Server performance objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . 882
26.13 SQL Server 2005. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 886
Para fazer o download gratuito do RedBook, acesse Tuning IBM xSeries Servers for Performance

