Convert SATA port from IDE to AHCI - Question

redness

Distinguished
Sep 21, 2009
144
0
18,680
Hello.

Currently I have 2 hard drives, one SSD where my OS is installed and an HDD for storage.

I recently bought an extra SSD and while benchmarking it I notice I'm being told "pciide - BAD". So I google and it leads to me this forum telling me to change the SATA port from IDE to AHCI. Apparently if I do this after Windows is installed I have to go through a registry fix.

Question, the SSD I want to change SATA port does not have Windows installed, do I still need to do the registry fix?

Is the difference between IDE and AHCI huge?

Thanks for any help

Also, here is the benchmark of my new Samsung 850 EVO

0eFAWGu.jpg


Will the speeds be better once I switch the SATA type?
 
Solution
http://www.gigabyte.com/products/product-page.aspx?pid=3897#sp
Chipset:

2 x SATA 6Gb/s connectors (SATA3_0, SATA3_1) supporting up to 2 SATA 6Gb/s devices
4 x SATA 3Gb/s connectors (SATA2_2~SATA2_5) supporting up to 4 SATA 3Gb/s devices
* The SATA2_5 connector will become unavailable when the mSATA connector is installed with a solid state drive.
Support for RAID 0, RAID 1, RAID 5, and RAID 10
* When a RAID set is built across the SATA 6Gb/s and SATA 3Gb/s channels, the system performance of the RAID set may vary depending on the devices being connected.
AHCI vs IDE is a BIOS setting, so I don't think you can run the boot drive in IDE mode while the second drive is in AHCI mode. They both have to be AHCI or both IDE.

It is well worth doing the registry fix so you can run both SSDs in AHCI mode. AHCI enables NCQ - native command queuing. This allows the computer to send multiple requests to the SSD simultaneously, and the SSD completes them as quickly as it's able. Unlike HDDs where the primarily limitation on small file accesses are seek time and rotational latency, SSDs are actually able to complete small file read/write requests faster than the computer can request them (the request has to go through multiple layers of the OS and filesystem before reaching the drive, which takes time).

In other words, in IDE mode, the computer requests a small file be read, the SSD fetches it and returns it. Only after the first data request has bee completed does the computer begin putting together the next small file read request, during which time the SSD is sitting idle. In the benchmark you've posted, this limits 4k read/writes to 30 and 57 MB/s.

In AHCI mode, the computer puts together a bunch of small file read requests in parallel, and sends them all to the SSD at once (queuing them). The SSD then gets busy reading them and sends the data back to the computer - no idle time between file accesses. That's the 4k-64Thrd benchmark in your pic - 64 threads = 64 simultaneous requests. Because you're in IDE mode, the number isn't that different from a regular 4k read/write request. Compare to a SSD where AHCI mode is enabled:

samsung%20ssd%20850%20evo%20as%20ssd.png


370 MB/s 4k reads, 141 MB/s 4k writes. Substantially better than your 850 EVO in IDE mode. (In reality your performance boost will not be this big because nothing except a benchmark program is going to throw 64 access requests at your SSD at once. But things like a virus scan can easily fill up the queue with a dozen simultaneous requests, and the speed increase will be substantial over IDE mode. Likewise if you're copying a bunch of small files from one SSD to another.)
 

redness

Distinguished
Sep 21, 2009
144
0
18,680

I notice in my BIOS there is no way to set the SATA mode for each individual SATA port. If I set this one setting to AHCI, will both SSD's run AHCI?
 

redness

Distinguished
Sep 21, 2009
144
0
18,680

Really sorry to ask you this, I'm not very good at this.

http://www.gigabyte.com/products/product-page.aspx?pid=3897#sp

This is my motherboard, how many controllers does it have?

Also, I have 2 SSD's and an HDD. If I set in my BIOS to be AHCI, will the HDD still work?
 
http://www.gigabyte.com/products/product-page.aspx?pid=3897#sp
Chipset:

2 x SATA 6Gb/s connectors (SATA3_0, SATA3_1) supporting up to 2 SATA 6Gb/s devices
4 x SATA 3Gb/s connectors (SATA2_2~SATA2_5) supporting up to 4 SATA 3Gb/s devices
* The SATA2_5 connector will become unavailable when the mSATA connector is installed with a solid state drive.
Support for RAID 0, RAID 1, RAID 5, and RAID 10
* When a RAID set is built across the SATA 6Gb/s and SATA 3Gb/s channels, the system performance of the RAID set may vary depending on the devices being connected.
 
Solution