Turbulent production and subgrid dynamics in wall flows