A fast gas is recovered from a feed gas containing a fast gas and at least one slow gas using a gas separation membrane. A controller may control a control valve associated with a partial recycle of a permeate gas from the membrane for combining with the feed gas. A controller may control a control valve associated with the backpressure of a residue gas from the membrane.