At the risk of stating the obvious, there are a lot of X factors involved.
If you're low on good relievers that are available, and the manager desperately wants 6 innings out of you, and your team scores 5 or 6 runs, then 6 innings and 3 earned runs is a good job, and 3.2 innings and 0 runs may not be.