I think you've knackered the Win 7 installation by trying an Apple OS. Registry messed up hence the slow everything.
AHCI is for SATA drives. IDE is for PATA or IDE drives. Check the motherboard but I think you'll have Sata drives as HDD and possibly IDE for optical drives.