begining of noodle dynamical frequency scaler (ie, ec2 instance manager)