Dishwasher and laundry detergent is almost always formulated for the "worst case" use scenario (namely - hard, untreated, tap cold water + moderately soiled clothes). The ingredients in modern detergents are designed to adjust the pH and hardness of the incoming water as best as possible to enable the enzymes and surfactants to do what they need to do.
Assuming you're not overloading your washer, that you're not fiddling with the cycle (don't use custom settings), and your clothes aren't stupidly dirty, then you should be using the minimum amount of detergent possible per load. Typically this is the first line on the cup. Any more is either a waste or a nuisance (detergent residue in clothes).
I don't wish to dreg up the other clothes washing thread, but you should also be fine to wash your clothes on tap cold water and if they're not coming out as clean as with warm water, you should be soaking them/running a soak cycle instead of adding more detergent. In fact, for really soiled clothes you're better off pretreating them with something else rather than wasting more detergent.
Also, detergent brands and sub-brands (i.e. Era vs. Tide vs. Tide Sport+) do matter. Different enzymes, surfactants, and pH buffers (don't ask me which, I don't know that off the top of my head) are used for different stains. Enzymes that are great at grass stains, skin secretions, and food residue might not be good for blood and latex paint. That's an example I just made up so don't cite me on that, but virtually no detergents contain "all" the enzymes and chemicals to tackle "all" stains - mostly because the conditions for some components to function properly would significantly diminish or neutralize the efficacy of others.
Finally, powdered detergents are usually better than liquid. Powdered detergents' components can't really cross-react like they can in liquid suspension, so powdered detergent usually has more cleaning components available per formulation than liquid.
Bottom line, fill the washer correctly, use the minimum detergent line on the cap or scoop (ideally use powdered), use your washer's most efficient setting, with tap cold water. Pretreat tough stains (oil, blood, mustard, etc.). Line dry everything if you can. If none of that works, adjust water temperature, check your water supply, try out other brands, and then after all that - fiddle with the amount you're adding to the washer.