tuned icon indicating copy to clipboard operation
tuned copied to clipboard

hdparm apm support is run for all the block device even when only single device is set in profile file.

Open tanurag opened this issue 2 years ago • 2 comments

tuned runs hdparm apm support check for all the devices even when we want to skip other block devices by using rule: device=!sdb* This takes a long time around 1m if no. of devices are alot or there are bunch of loop devices, even If we want to run the command just for one disk.

https://github.com/redhat-performance/tuned/blob/467782fcead70fe547896f8913bd8361b1bd66cd/tuned/plugins/plugin_disk.py#L107

tanurag avatar Feb 08 '23 07:02 tanurag

Unfortunately, the tool does not provide any support for nvme devices. There the power saving mode is enabled as follows:

echo 'auto' > /sys/block/sda/device/power/control

mwallnoefer avatar Nov 11 '23 18:11 mwallnoefer

Thanks for the info, we will try to add support.

yarda avatar Nov 12 '23 21:11 yarda