scsi-mq
使能scsi-mq
添加scsi_mod.use_blk_mq=y到内核命令行:(也可以添加dm_mod.use_blk_mq=y来使能blk-mq,减少DM层的开销)
1 2 3 4 5 6 7 8 9 10 11 |
$ cat /etc/default/grub GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's,release .*$,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="crashkernel=auto rd.md.uuid=c13f982e:9af61476:91e4a31e:1bc18c08 scsi_mod.use_blk_mq=y dm_mod.use_blk_mq=y rhgb quiet" GRUB_DISABLE_RECOVERY="true" $ grub2-mkconfig -o /boot/efi/EFI/centos/grub.cfg $ reboot |
确保使能成功
1
|
tree /sys/class/block/sdl/mq /sys/class/block/dm-0/mq |