IDE Hard Drive acceleration in RedHatLinux

Source: Internet
Author: User
Tags ide hard drive
By default, RedHatLinux configures the IDE Hard Disk very stably and is very compatible. In other words, it is very slow. If your IDE hard drive has been available in the UltraDMA mode in recent years, you can easily make your IDE Hard Drive run by modifying the configuration file. Edit/etc/sysconfig/harddisks and modify your own IDE Hard Disk (Note: The SCSI hard disk is invalid ). The red font is the modified parameter: # & nb default RedHat Linux configures the IDE Hard Disk very stably and is very compatible. In other words, it is very slow.
If your IDE hard drive has been available in the UltraDMA mode in recent years, you can easily make your IDE Hard Drive run by modifying the configuration file.
Edit/etc/sysconfig/harddisks and modify your own IDE Hard Disk (Note: The SCSI hard disk is invalid ). The red font is the modified parameter:
#
# WARNING !!!
#
# The kernel will autodetect the correct settings for most drives.
# Overriding these settings with hdparm can cause data upload uption and/or
# Data loss.
# Leave this file as it is unless you know exactly what you're doing !!
#
#
#
# These options are used to tune the hard drives-
# Read the hdparm man page for more information
# Set this to 1 to enable DMA. This might cause some
# Data upload uption on certain chipset/hard drive
# Combinations. This is used with the "-d" option
USE_DMA = 1 (do you need to explain it again ?)
# Multiple sector I/O. a feature of most modern IDE hard drives,
# Permitting the transfer of multiple sectors per I/O interrupt,
# Rather than the usual one sector per interrupt. When this feature
# Is enabled, it typically reduces operating system overhead for disk
# I/O by 30-50%. On Alibaba systems, it also provides increased data
# Throughput of anywhere from 5% to 50%. Some drives, however (most
# Notably the WD Caviar series), seem to run slower with multiple mode
# Enabled. Under rare circumstances, such failures can result in
# Massive filesystem upload uption. use with caution and backup.
# This is the sector count for multiple sector I/O-the "-m" option
#
MULTIPLE_IO = 16 (this was previously called multcount, and how many sector can be entered during an input/output interruption)
# (E) IDE 32-bit I/O support (to interface card)
#
EIDE_32BIT = 3 (it is very important to enable this function, which can almost double the speed)
# Enable drive read-lookahead
#
LOOKAHEAD = 1 (I think it doesn't matter if there is nothing to say)
# Add extra parameters here if wanted
# On reasonably new hardware, you may want to try-X66,-X67 or-X68
# Other flags you might want to experiment with are-u1,-a and-m
# See the hdparm manpage (man hdparm) for details and more options.
#
EXTRA_PARAMS =-X66-u1 (the options here are very dangerous and should be filled in according to your own situation. Use the/sbin/hdparm command to check whether these options do not harm your IDE hard disk and then write them here.
In fact, the above parameters can be adjusted using hdparm, but the system will not remember the adjusted parameters of hdparm. Therefore, the default configuration will be returned every time you start the system. Modify the/etc/sysconfig/harddisks file for convenience. You can also write hdparm options to rc. sysinit. The benevolent sees benevolence.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.