AHCI - Why is it Considered So Much Better Than IDE?

RhoXS

Senior member
Aug 14, 2010
207
16
81
Until a few days ago, I was using an IDE interfacing with my G2 SSD. The time from the instant "Starting Windows" (W7) appeared to a completed Desktop was consistently 17.8 seconds. Most applications started instantly. One application, Paperport, started with a couple second or so delay but even this was incredibly faster than the time it took with a HDD.

I happened to recently read some stuff extolling the virtues of AHCI, so I switched to AHCI a few days ago. Using the same starting and stopping points, the W7 start up time increased to almost 24 seconds. I was unable to notice any other change, good or bad, with respect to Apps starting and databases loading. Therefore, I reverted back to the seemingly faster IDE interface.

So, why do so many people think that using an AHCI interface, in lieu of IDE, is so much better? I even saw one posting were the writer stated he did not think an SSD would work with anything other than AHCI. What am I missing by continuing to use IDE?
 

dorion

Senior member
Jun 12, 2006
256
0
76
AHCI allows SSDs to use the Trim command. If the Trim command is used long term SSD performance degradation, due to internal fragmentation, is minimized.

Also NCQ is available to HHDs on AHCI allowing for some speed increases.

On the change in speed you should try the Intel AHCI drivers, I've heard they are loads better than the built-in W7 ones.
 

(sic)Klown12

Senior member
Nov 27, 2010
572
0
76
TRIM works in IDE mode with a compatible driver(the built in Windows driver is preferred) in Windows 7. AHCI's main advantages compared to IDE is the ability to Hot-Swap(self-explanatory) and NCQ(can increase performance in situations with heavy multi-tasking). If you don't need either of those, then sticking to IDE since it's faster for your build is the smart thing to do.
 
Last edited:

Voo

Golden Member
Feb 27, 2009
1,684
0
76
TRIM works in IDE mode with a compatible driver(the built in Windows driver is preferred) in Windows 7. AHCI's main advantages compared to IDE is the ability to Hot-Swap(self-explanatory) and NCQ(can increase performance in situations with heavy multi-tasking). If you don't need either of those, then sticking to IDE since it's faster for your build is the smart thing to do.
Yup, yup and yup.

Although I find it rare that using AHCI increases your boot time that much - maybe a BIOS update would help there.
 

fffblackmage

Platinum Member
Dec 28, 2007
2,548
0
76
Yup, yup and yup.

Although I find it rare that using AHCI increases your boot time that much - maybe a BIOS update would help there.
From what I've heard from someone else on this forum, AHCI might actually increase boot-time.
 

Voo

Golden Member
Feb 27, 2009
1,684
0
76
From what I've heard from someone else on this forum, AHCI might actually increase boot-time.
Why would it? It has a minimal higher overhead and probably takes a few ms more to initialize, but certainly not 24seconds - that's clearly some kind of bug, probably some communications mismatch that times out.
 

(sic)Klown12

Senior member
Nov 27, 2010
572
0
76
Why would it? It has a minimal higher overhead and probably takes a few ms more to initialize, but certainly not 24seconds - that's clearly some kind of bug, probably some communications mismatch that times out.

When I use AHCI and had the older(pre-TRIM support) AMD AHCI driver, during boot up it would poll my Blu-Ray drive which added an additional 10 or seconds to boot up. I never could figure out why it did that and then suddenly stopped with the 10.11 AHCI drivers.
 

VirtualLarry

No Lifer
Aug 25, 2001
56,571
10,206
126
When I use AHCI and had the older(pre-TRIM support) AMD AHCI driver, during boot up it would poll my Blu-Ray drive which added an additional 10 or seconds to boot up. I never could figure out why it did that and then suddenly stopped with the 10.11 AHCI drivers.

Isn't that around the time that installing those newer AMD drivers, actually uninstalled AMD's AHCI disk driver, and replaced it with MSAHCI.SYS?
 

(sic)Klown12

Senior member
Nov 27, 2010
572
0
76
Isn't that around the time that installing those newer AMD drivers, actually uninstalled AMD's AHCI disk driver, and replaced it with MSAHCI.SYS?

Not that I know of. Unless AMD is just renaming the MS driver(they show up as AMD_SATA.sys in Device Manager). These AMD drivers are also 5-7% faster than MS's driver in random reads/writes(in my experience) so it has to be a different driver.
 

zagood

Diamond Member
Mar 28, 2005
4,102
0
71
What people normally see when they say their boot time increased with AHCI enabled is the drive detection time. On some gigabyte motherboards it can add 15 seconds or more from the time you hit the power button.
 

RhoXS

Senior member
Aug 14, 2010
207
16
81
What people normally see when they say their boot time increased with AHCI enabled is the drive detection time. On some gigabyte motherboards it can add 15 seconds or more from the time you hit the power button.

The time interval I measured started after the bios finished its boot and the instant "Starting Windows" appeared on the screen. I stopped the timing as soon as the rotating symbol goes away. At that point (also confirmed by the hard drive access light) it appears the Windows 7 start-up sequence is complete.

This interval is consistently just under 18 seconds when using an IDE interface. It is consistently almost 24 seconds with an AHCI interface.

Interestingly, and annoyingly, my Gigabyte GA-EP45-UD3P takes much longer to do its bios startup than Windows takes to get to a stable Desktop once it starts loading.
 

nusyo

Member
Feb 27, 2011
106
0
0
Until a few days ago, I was using an IDE interfacing with my G2 SSD. The time from the instant "Starting Windows" (W7) appeared to a completed Desktop was consistently 17.8 seconds. Most applications started instantly. One application, Paperport, started with a couple second or so delay but even this was incredibly faster than the time it took with a HDD.

I happened to recently read some stuff extolling the virtues of AHCI, so I switched to AHCI a few days ago. Using the same starting and stopping points, the W7 start up time increased to almost 24 seconds. I was unable to notice any other change, good or bad, with respect to Apps starting and databases loading. Therefore, I reverted back to the seemingly faster IDE interface.

?

Don't you have to do a fresh install when you switch from IDE to AHCI in bios? at least to take full advantage of SSD & AHCI

I believed I read this on OCZ forums a while back .... I could be wrong though
 

nvidiaintelftw

Senior member
Apr 4, 2011
285
0
0
AHCI allows SSDs to use the Trim command. If the Trim command is used long term SSD performance degradation, due to internal fragmentation, is minimized.

Also NCQ is available to HHDs on AHCI allowing for some speed increases.

On the change in speed you should try the Intel AHCI drivers, I've heard they are loads better than the built-in W7 ones.

http://downloadcenter.intel.com/Det...5&DwnldID=18063&keyword="AHCI+SATA+Driver"eng

Is this the driver you are talking about. i install it into my rig after my 470 comes back from RMA
 

Drsignguy

Platinum Member
Mar 24, 2002
2,264
0
76
Don't you have to do a fresh install when you switch from IDE to AHCI in bios? at least to take full advantage of SSD & AHCI

I believed I read this on OCZ forums a while back .... I could be wrong though

No, There is a Regedit tweek, then you reboot to bios and set it to AHCI.
 

Emulex

Diamond Member
Jan 28, 2001
9,759
1
71
ncq is the mad gain. then again most scsi folks have had this tech for the last 20 years.
 

(sic)Klown12

Senior member
Nov 27, 2010
572
0
76
NCQ massively increases performance on even light multi tasking. And with an SSD it is very important to getting good performance.

I ran my old Torqx in IDE for a while and then switched to AHCI and I never noticed any significant gains. My multi-tasking consisted of encoding videos with Handbrake, running two virtual machines(Debian and OpenBSD), browsing the Internet, and some light gaming. Benchmarks like As-SSD, Crystal Disk Mark, and PC Mark Vantage did show some speed up, but only a few percent. This could be due to Indilinx chips not handling higher que-depths as well as newer SSD controllers so I'll have to do some testing with my Vertex 2.

Ps. Nice guide on AA.