This morning I set my timer for fifteen minutes instead of twenty, and that felt just about right. As I meditated I didn’t dwell on the time, nor did I sneak a look to see how many minutes I had left. I was more into the meditation itself, and was surprised when the timer went off.
Clearly there is no optimal length; try what works for you.