Systems and methods are provided for providing ventilation to a patient. An air source is configured to provide pressurized air to a patient through a patient circuit according to a ventilation pattern. At least one sensor is configured to monitor a corresponding physiologic property of the patient. A ventilator control system is configured to calculate an alveolar ventilation value from the monitored physiologic property of the patient, determine at least an optimal frequency for the ventilation pattern from the calculated alveolar ventilation value, and update the ventilation pattern according to the determined optimal frequency.