the official spec for ide cables is, unfortunately 18 inches. that is, 0" at the controller, 12" for the first drive, and 6" for the second drive.
yes you can have longer, but technically it is out of spec.
i am running with 36" 80\40 cables. ;-) and yes, performance has decreased with the 36" cables.