Enable your parallel hard drive to work under the UltraDMA100 and UltraDMA133
Source: Internet
Author: User
Let your parallel hard drive work under UltraDMA100 and UltraDMA133-Linux Enterprise Application-Linux server application information. The following is a detailed description. Author: BOBO123
The current motherboard and hard disk support UltraDMA 100, the old motherboard such as VIA 693, Intel 810 chipset motherboard only support UltraDMA 66, however, after VIA 694 and Intel 815, both chip boards support UltraDMA 100, and some VIA chip boards even support UltraDMA 133. When the motherboard, hard disk, and data connection lines support the corresponding standards, we can use the following command to make the hard disk work in the corresponding mode to speed up Linux running. Search for Command Parameters
Both 1) and 2) can be placed in/etc/rc. the local file is automatically loaded at the end, but 3) and 4) It seems a problem to be put there. I have no other good method, so I have to let the system automatically load when it enters the desktop, create an automatic Startup File harddisk in the/usr/share/autostart folder. desktop, which contains the following content:
[Desktop Entry]
Comment [zh_CN] = hard drive Acceleration
Exec = hdparm-d1X69-m16-c3-k1/dev/hda
Icon = cache
Name = Autorun
Name [zh_CN] = hard drive Acceleration
Type = Application
As for the icon of this file, choose whatever you like.
Today, I tested the 2.6.20 kernel and found that the kernel automatically determines the drive mode. Some parameters of the hdparm command become invalid. Let's make a small improvement in the kernel.
[Root @ l ~] # Uname-
Linux l. myhome 2.6.20 Thu Feb 8 00:18:10 CST 2007 i686 i686 i386 GNU/Linux
[Root @ l ~] # Hdparm-d1X66-m16-c3-k1/dev/hda
Set the hard disk to work in DMA 66 Mode
/Dev/hda:
Setting 32-bit IO_support flag to 3
Setting multcount to 16
Setting using_dma to 1 (on)
HDIO_SET_DMA failed: Operation not permitted. Set the hard disk DMA working mode: The Operation is not allowed, and the command parameter is invalid.
Setting keep_settings to 1 (on)
Setting xfermode to 66 (UltraDMA mode2)
Multcount = 16 (on)
IO_support = 3 (32-bit w/sync)
Using_dma = 0 (off)
Keepsettings = 1 (on)
[Root @ l ~] # Hdparm-I/dev/hda
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.