CPU/Memory/Disk/System Performance Tuning and Optimization
|
|
| System Diagnostics, Tuning, Optimization and BenchMarks |
|
| Server Hardening-HOWTO |
|
| Optimization and Tuning HOWTO |
|
| BIOS Tuning |
- Automatic PowerUP when turn on power switch
- Tell it to ignore the error if the kb or mouse is missing
- Check the time and date stamps to avoid confusion
- Check your cpu clock frequency
- Check your memory clock speed - especially ECC memory detect
- Check your disk detect options
- Dump bootup messages to serial console or over the LAN to remote user
- Turn off/Disable any bios feature NOT present on the motherboard
- Enable CPU shutdown when overheating
- Enable "Power Loss Restart" ( system reboots by itself )
- Halt on "all but disk/kb errors" ( keyboardless boot )
PCGuide.com
TomsHardware.com Bios Tuning
uib.no BIOS Shadow Memory
ComputerHope.com Post - beeps
|
| Kernel Tuning |
Linux-Sec.net/Harden Kernel Hardening
MIT.edu Securing the kernel
- Optimize for Athlon/K6 vs P4/P3 CPU options vs default generic i386 mode
- Turn off bootup messages
- Display Corp logo instead
|
| CPU Tuning |
|
| Memory Tuning |
|
| Disk Tuning |
- The two onboard IDE channels (primary and secondary IDE) each operates with one protocol
- Do NOT combine different protocol DMA devices the same ATA cable
- Your data transfer will probably occur at the slowest device transfer speed
- Use only ATA-66 ( 66Mb/sec ) devices on one IDE cable ( channel )
- Use only ATA-100 ( 100Mb/sec ) devices on the other IDE cable ( channel )
- Do NOT mix them -- especially slow CDROMs
- Turn on your IDE/DMA kernel options for your IDE controllers/chips
- For maximum performance, do NOT use any slave IDE devices, add additional IDE controllers
- Data transfer speed will DECREASE significantly with master and slave on the same cable
Linux-1U.net/Disks Optimized hard disks w/ hdparam options
LinuxDoc.org Securing-Optimizing-Linux-RH-Edition
MIT.edu Securing-Optimizing-Linux - IDE Tuning
Redhat.com Disk Tuning - elevators
Debian.org Tuning a Debian System
ecst.csuchico.edu trinityOS - hdparm
LinuxPerf.nl.linux.org
OreillyNet.com
Carefully choose your
partition scheme Very important to do this "right"
- Inner/Outer Tracks, Zoning
- hdparm
Ibiblio.org hdparm
SourceForge.net ghdparm - GUI for hdparm
- hdparm -tT /dev/hda -- Read/Write Timing Tests
- hdparm -d1 /dev/hda -- Turn on the DMA bit
- hdparm -d1 -m16 -c3 -u1 /dev/hda -- Turn on sync, interrupt, multicount - can be dangerous too
- Check DMA transfer mode ( use -Xxx option if needed )
- Check DMA buffer size
- elvtune
- Changing the max latency on items in the queue allows you to trade disk i/o latency for throughput, and vice versa
- elvtune /dev/hda1 -- typical defaults 8192 read, 16384 writes
- elvtune -r 2000 -w 4000 /dev/hda1 -- set to 2000 reads, 4000 writes
- Disk Layout and Partitions
|
| FS Tuning |
|
| File Limit, Process Limit, Thread Limit Tuning |
|
| TCP/IP and NFS Tuning |
|
| Firewall Tuning |
|
| DNS Server Tuning |
|
| Email Server Tuning |
|
| Web Server Tuning |
|
| FTP Server Tuning |
|
| Automated System Admin |
|
| Disks Layout |
|

|