For a lot of lenses, f8-f11 seems to be the sweet spot.