Question: is ahci necessary for ssd?
Answer: AHCI mode as previously explained enables NCQ (native command queuing) which is really not required for SSDs as they do not need optimizing in this way as there is no physical movement of heads or platters. In many cases, it can actually hinder SSD performance, and even reduce the lifetime of your SSD.