Config optimization