HDD optimization