My current favorite setup is a 50/34 compact crank and 11-28 cassette. It'll get me through rides with 6000+ feet of elevation gain and my knees won't be aching the next day. I have the leg strength to use a 53/39, but my knees won't be happy the next day if there's more than a few thousand feet of climbing to do.