As others have mentioned, try lubing the cable. Also, make sure the cable and its outer jacket aren't kinked or bent around a sharp corner somewhere. You can actually remove the cable jacket from the speedometer and from the transmission. Put the assembly on your bench and carefully slide the cable out of the jacket. Clean any gunk then relube it. Light oil, light grease. Whatever you prefer. I'd use a light grease.