Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
tanurag opened this issue Feb 8, 2023 · 2 comments

Comments

@tanurag
Copy link

tanurag commented Feb 8, 2023

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.

if self._use_hdparm and self._is_hdparm_apm_supported(device.sys_name):

@mwallnoefer
Copy link

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

@yarda
Copy link
Contributor

yarda commented Nov 12, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants