Kernel and performance tuning