Книга: Fedora™ Unleashed, 2008 edition

Using the BIOS and Kernel to Tune the Disk Drives

Using the BIOS and Kernel to Tune the Disk Drives

One method of tuning involves adjusting the settings in your BIOS. Because the BIOS is not Linux and every BIOS seems different, always read your motherboard manual for better possible settings and make certain that all the drives are detected correctly by the BIOS. Change only one setting at a time.

Linux does provide a limited means to interact with BIOS settings during the boot process (mostly overriding them). In this section, you will learn about those commands.

Other options are in the following list, and are more fully outlined in the BOOTPROMPT HOWTO and the kernel documentation. These commands can be used to force the IDE controllers and drives to be optimally configured. Of course, YMMV (your mileage may vary) because these do not work for everyone:

idex=dma — This forces DMA support to be turned on for the primary IDE bus, where x=0, or the secondary bus, where x=1.

idex=autotune — This command attempts to tune the interface for optimal performance.

idex=ata66 — If you have ATA66 drives and controllers, this command enables support for it.

hdx=ide-scsi — This command enables SCSI emulation of an IDE drive. This is required for some CD-RW drives to work properly in write mode and it might provide some performance improvements for regular CD-R drives, too.

idebus=xx — This can be any number from 20 to 66; autodetection is attempted, but this can set it manually if dmesg says that it isn't autodetected correctly or if you have it set in the BIOS to a different value (overclocked). Most PCI controllers are happy with 33.

pci=biosirq — Some motherboards might cause Linux to generate an error message saying that you should use this. Look in dmesg for it; if you do not see it, you don't need to use it.

These options can be entered into /boot/grub/grub.conf in the same way as other options are appended.

Оглавление книги


Генерация: 2.030. Запросов К БД/Cache: 3 / 0
поделиться
Вверх Вниз