tuning kernel