Aded dmesg optimizations