MacbookPro terribly slow with SSD via SATA but very good via USB
I have a MacBook Pro Early 2011 and I have upgraded to SSD when on Mountain Lion. Installed Yosemite as soon as it was out. The SSD works perfect until day before yesterday. Mac has become too slow, every click takes 15 seconds to respond, boot takes 5 minutes. I then cloned the SSD to a normal HDD and replaced it with it. It boots and works very well from the HDD. I have tried fresh install on the SSD by placing it in the same main harddrive bay and left it for 10 hours but it won't finish installing.
Then, I have tried placing it in a SATA to USB cable and tried installing Yosemite on it. It finishes within 15 minutes, boots and works very well. I placed it again in the harddrive bay and its totally slows down. I then figured that the problem could be with the SSD and its compatibility with my mac.
So, to check, installed windows on the SSD while keeping in the harddrive bay of the MBP. It installs and works perfectly. So, it ain't a hardware compatibility issue.
Finally, after quite a testing, the problem is when the SSD is placed in the main harddrive bay of the MBP and Yosemite is being installed or installed. With Yosemite and the SSD in an USB, it works perfectly.
Has anyone experienced a similar issue or have any suggestions for a fix?
Details: Macbook Pro 8,1 (Early 2011), ADATA 128GB 6gbps SSD
MacBook Pro, OS X Yosemite (10.10.1)