Ahci vs ide drive me crazy...

Source: Internet
Author: User
Tags high cpu usage

Recently I changed a new computer, and the company required to use the XP system for the project, but the blue screen is displayed every installation. Go to the Internet and check whether you want to change the hard disk mode in the BIOS to switch ahci to the IDE mode, and then install it. However, in the days to come, I found that it was difficult to handle the problem. I had to go to the network and check if I had to install the ahci driver, then I changed the hard disk mode to ahci, but I tried it. I used an assembled machine, the motherboard was intel, and I couldn't find a suitable driver on the Internet, some people say that simply add some files in the installation disk, the company's optical drive can not be engraved, only re-installed, burst into tears .... Now, let's sort out some of the things we have checked to keep pace with the times.

 

Note: Generally, as long as it is a brand-name machine, whether it is a notebook or a desktop computer, you can download the corresponding driver from the Internet. Generally, merchants will provide it. In the bios, change the SATA hard disk mode to IDE, install XP, install the ahci driver, restart, update the PCI driver, and then restart to use ahci, but I am an assembled machine. It is a tragedy. If an XP version is changed, the system crashes. Decisive win7. I would like to tell my friends who will assemble the machine later that they should pay attention to it, but if you install win7, it will be okay. It is estimated that XP will be eliminated in a few years ....

 

Ahci

Ahci, fully referred to as Serial ATA advanced Host Controller Interface (Serial ATA advanced control interface/advanced Host Controller Interface), is an interface standard jointly developed by multiple companies under the guidance of intel, it allows storage drivers to enable advanced Serial ATA features, such as local command queues and hot swapping, its R & D team members mainly include Intel, AMD, Dell, Marvell, Alto, Microsoft, Red Hat, Seagate, storagegear and other famous enterprises.

Ahci is essentially a PCI device, it acts as a common interface between the system memory bus and the internal logic of the Serial ATA device (that is, it is common in different operating systems and hardware ). This type of device describes a general system memory structure with control and status areas and command sequence entry tables. Each Command table entry contains SATA device programming information, and a pointer to the description table (used to transmit data on devices and hosts.

Ahci includes a PCI bar (base address register) to implement native SATA functionality. Thanks to the successful development of the ahci unified interface, the development of supporting Serial ATA products is greatly simplified, and the operating system and equipment manufacturer do not need to Develop interfaces separately, instead, you can perform operations directly on the unified interface to implement various functions, including ncq (native command queuing.

The ahci mode is opposite to the IDE mode. When installing the system, you must install the SATA driver (and it seems that only this mode can enable the ncq function ).

The raid mode requires two hard disks. For details, refer to the article about creating raid on the Internet. If you only have one hard disk, you can ignore it.

Supplement: ncq is a new hard disk technology. Simply put, enabling it will make it faster to jump from one program to another. To implement it, you must first select the ahci mode in the BIOS, then install the corresponding driver when installing the system (usually in the motherboard drive disk). After installing the system, you can basically implement it.

For a long time, the performance of SCSI hard disks under multi-task loads is commendable. The root cause is its command sorting function, in addition to the astonishing interface speed of SCSI interfaces. In the past, the performance of PATA and SATA hard disks lags behind that of SCSI hard disks due to the lack of command optimization and execution functions. To address this dilemma, Intel's ahci 1.0 specification introduced native command Qu for the first time. Its application can greatly reduce useless hard disk seek times and data search time, in this way, the performance of the hard disk can be significantly enhanced in multi-task scenarios.

In addition, as the SATA standard release version, Intel has improved the detailed specifications of the Serial ata ii interface, and indicates that the development of Serial ata ii will be the second stage of the ahci unified interface. Among them, the first phase has started in, and many manufacturers have also launched the Serial ATA interface products, including hard disks and mainboards. But this is just a transition. In the second stage, Serial ata ii will directly replace SATA with higher signal transmission speeds.

------------ The theory is over. Now let's see if your computer supports it.

Note: ahci requires intel? The application accelerator version 4.1 or later is installed with the following controller hubs into the chipset:

Intel? 82801gbm I/O controller Hub (ic1_m)-ahci only

Intel? 82801gr I/O controller Hub (iCloud R)-raid and ahci

Intel? 82801gh I/O controller Hub (ic1_dh)-raid and ahci

Intel? 82801fr I/O controller Hub (ich6r)-raid and ahci

Intel? 82801fbm I/O controller Hub (ich6m)-ahci only

Ahci is not used for chipset Based on ich7 and ich6 and ich5 and ich5r.

If your chip is not supported, do not use it indiscriminately!

Ahci solution !!

01. What is ahci?

Full name: Advanced Host Controller Interface

Controller Interface, which is a technology dominated by Intel.

The potential acceleration function of the hard disk can increase the read/write speed of the hard disk by about 30%.

02. What is a SATA hard drive?

Refers to the hard drive of Serial ATA, Which is evolved from PATA: parellel Ata;

The front is the mainstream, with fine lines and fast transmission speed, while the PATA is wide and slow

Hard drives on old computers use this architecture and will be exchanged by generations, commonly known as IDE hard drives,

Therefore, if you purchase a new computer, you need to select a SATA hard drive and the specification must be sata2.

03. What are the requirements of ahci?

-1. The hard drive must have native queue columns of ncq (native command queuing ).

Function, which is generally a hard drive of sata2 and is currently sold on the market

Hard Disks are of this type.

-2. The PC motherboard nanqiao chip must support ahci. The old computer is

Cannot be enjoyed.

-3. You cannot enable the ahci function in the BIOS of your computer.

04. How do I enable the ahci function? New Operating System (OS) installation ):

After the XP optical disc is started and installed, press F6 to load it. The ahci function is available.

SATA driver f6flpy32. Zip; XP has been installed beforehand.

The computer is not loaded into the correct driver. Isn't it necessary to refill the computer?

05. The operating system already exists. Do you want to remedy this problem and enable the ahci function?

-1. First insert the SATA hard drive into the SATA slot supported by the non-Southern bridge chip,

For example, can an external plug-in card be used for a jmicron chip?

-2. Change the jmicron chip from basic to ahci mode in BIOS.

-3. Change the Intel chip from ide To ahci mode in BIOS.

-4. Go to XP and install imsm (Intel matrix Storage Manager)

Intel & reg; iata621.exe driver.

-5. Insert the SATA hard drive back to the SATA slot of nanqiao ich!

 

IDE

  IDE has many meanings

  Explanation 1:

The Integrated Device Circuit, integrated device electronics, is generally used as an ATA hardware interface. It is intended to be a hard drive that integrates the "hard disk controller" with the "disk body. The integration of the disk and controller reduces the number and length of cables on the hard disk interface, enhances the reliability of data transmission, and makes it easier to manufacture the hard disk, hard Disk manufacturers do not need to worry about whether their hard disks are compatible with controllers produced by other manufacturers. It is more convenient for users to install hard disks. Since its birth, IDE has been continuously developing and its performance has been continuously improved. It features low price and strong compatibility, this makes it an irreplaceable position for other types of hard disks.

 

   Ide ata/atapi Controller

The English spelling of PIO is "programming input/output model". Pio mode is a data exchange mode that reads and writes data by executing the I/O port command on the CPU. It is the earliest hard disk data transmission mode. The data transmission rate is low and the CPU usage is high. When a large amount of data is transmitted, the system pauses due to excessive CPU resources and other operations cannot be performed. Pio data transmission modes include Pio Mode 0, Pio Mode 1, Pio Mode 2, Pio Mode 3, and PIO Mode 4, the data transmission rate ranges from 3.3 MB/s to 16.6 Mb/s. Due to the low transmission rate and high CPU usage, this data transmission mode will soon be eliminated.

IDE Architecture Analysis and Development Trend

Enhanced ide interface history (1)

1. At attachment (ATA): the ATA interface is the most powerful storage interface on a PC. the ATA interface was widely used in ibm and its compatible machines earlier, and is defined as a standard hard disk interface.

2. ATA-1: ATA hard disk interface first generation standard ANSI X3.279-1994, that is, early ide interface.

3. ATA-2: ATA hard disk interface of the second generation standard ANSI X3.279-1995, is known as the fast ATA or enhanced IDE (Eide) interface.

4. apple-Ata: the ATA interface used on apple, of course, evolved from the standard ATA interface. In ANSI, the international standard proposal application is x3t9.2/90-143.revision 3.1, this LBA drive mode for Apple-Ata to support ide interfaces evolved from the standard ATA interface specification, but does not support atatp.

5. ATA-3: the third generation standard ANSI x3t13/2008d Revision 7 (draft) of ATA Hard Drive interfaces, also included in the interfaces of fast ATA or enhanced IDE, most users know the fast ATA or enhanced ide interface, and the original fast ATA or enhanced ide interface actually includes ATA-2 and ATA-3 two sets of international standards.

6. atapi: AT Attachment packet interface, which is an extension of ATA Protocol and is defined to support CD-ROM optical drives and tape drives. This atapi protocol allows devices other than hard drives to use ata data lines.

7. ATA/ATAPI-4: ATA Hard Drive Interface of the fourth generation standard ANSI x3t13/d96153 (draft), that is known as the ultra ATA or ultra DMA, this version supports 33 MB/sec data transfer rate (in burst mode), I believe you are familiar with ATA-4/ultra DMA.

8. ATA/ATAPI-5: this is the latest generation of ATA hard disk interface standard, this specification sets the data stream transmission rate (in burst mode) is 66 MB/sec, in addition, the internal data check and error correction algorithms are strengthened, and the data integrity and reliability are enhanced.

9. ATA/ATAPI-6: there is also an updated standard, which is an improvement in ATA/ATAPI-5, which sets the data stream transmission rate (in burst mode) to 100 mb/sec.

Table 1:

Data transmission rate in Pio-Driven Mode

Pio mode Cycle Time Transfer Rate

Pio Mode 0 600ns 3.3 Mbytes/sec

Pio Mode 1 383ns 5.2 Mbytes/sec

Pio Mode 2 240ns 8.3 Mbytes/sec

Pio Mode 3 180ns 11.1 Mbytes/sec

Pio Mode 4 120ns 16.6 Mbytes/sec

Since the development of the enhanced ide interface, the ultra Direct Memory Access (ULTRA-DMA) is currently the latest, the most familiar is that the data transfer rate of ultra-DMA can reach up to four times the ATA-3 standard, that is, 66.6 Mbytes/sec.

In fact, the originator of the hard disk interface, in addition to the SCSI interface, is the MFM/ST-506 bus interface, and later evolved into today's enhanced ide interface, the IDE/AT-bus interface before enhanced ide only provides the PIO driver mode without the DMA driver mode, the difference between the two driving modes is mainly about whether the CPU is needed for data transmission. In PIO mode, any read operation on a hard disk must be controlled and managed by the CPU. Therefore, as long as the hard disk reads and writes frequently, the CPU resources are greatly consumed, this reduces the overall efficiency of computers. In DMA mode, the data between the hard disk and memory can be directly exchanged, so that the CPU resources are not occupied and the overall efficiency of the computer is improved. Readers should never ignore the progress from Pio to DMA. In fact, any action in a personal computer must use the system memory. After all, the cache capacity inside the CPU is too small, therefore, all program reads and operations must be performed in the memory, so that data exchanges from the hard disk to the memory will be very frequent, therefore, this step of simplification is outstanding for improving the overall performance of the computer.

In the past, when hard disks were In PIO mode, as long as a large number of hard disk read/write operations started, the performance of the computer would drop sharply, making people feel that the computer is always waiting for something, in fact, the SCSI interface also adopted the PIO mode at the beginning, and later evolved into the DMA mode. The IDE/AT-bus interface is no exception. After the PIO Mode 4 driver mode, the IDE/AT-bus interface has been successfully evolved into an enhanced ide interface, and the driver mode has also been upgraded from Pio Mode 4 to multi-word DMA mode2, another Pio mode 5 was expected to be available, but the DMA mode has already appeared.
Mode is no longer available.

Therefore, the reader may think that the main feature of the enhanced ide interface is the change of the driver mode, and the increase in support for non-hard disk storage devices, in addition, the originally set of IDE interfaces is now added to two groups.

The full name of DMA is direct memory access for Direct Memory Access. After the DMA driver mode is adopted, the CPU does not need to spend as much time on hard disk o/I operations as usual, the significance of DMA is to allow direct communication between the hard disk and the memory. All hard disk operations do not require too much CPU time.

 

 

If anyone has an ahci driver on the intel dh67bl motherboard, I 'd like to thank you very much.

 

XP cannot be installed in hard disk ahci mode, so you must change it to IDE. However, some operating systems may be incompatible, resulting in a blue screen crash. After I reinstall it, I haven't encountered the original problem yet. Generally, I can change to an XP version.

Ah, it's always so tragic.

 

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.