up vote 5 down vote favorite
share [g+] share [fb]

I am compiling to an SSD connected through SATA using IDE emulation on Windows 7.

Unfortunately, I forgot to enable AHCI when I installed, and though there are ways of performing surgery on Windows to get it to use AHCI after the fact, they do not apply to my specific situation. I would need to wipe and reinstall the OS which is a pain.

Do any of the advantages of AHCI apply to compilation such that they could improve the compile and link time performance of my C++ applications? I am not doing much else in the background (I've disabled indexing of the SSD).

link|improve this question

20% accept rate
feedback

migrated from stackoverflow.com Dec 5 '09 at 21:37

This question came from our site for professional and enthusiast programmers.

2 Answers

I highly doubt it is worth reinstalling to enable AHCI on your SSD in order to improve compile performance under Visual Studio.

link|improve this answer
I am inclined to agree. I can't remember ATM where I saw it, but there were some benchmarks, and it didn't seem to make that much difference according to the benchmarks. – Robert Harvey Dec 5 '09 at 21:29
feedback

It's worth enabling AHCI, but there is no need to reinstall.

  • If you're running XP, then install the ACHI driver from the motherboard vendor.
  • Then add the key below to the registry

    Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\msahci] "Start"=dword:00000000

(use regedit or save the 3 lines above in a .reg file and execute it)

  • Reboot and then enable AHCI in the bios.

It should work fine on XP, Vista and Windows 7, but if anything fails, just disable ACHI again in the bios.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.