Right size drain diameter
Shower drains drain well when 1.5" diameter. The drain pipe there is an "arm" not a branch, so it can go a certain distance (depending on its diameter) before it needs to connect to venting. Then it becomes a branch not an arm.
Same for washing machine drains.
Here is a link that might be useful: Side discussion here, on drain size for washer