Hi everyone,
in the Unraid forum I saw a plug-in that you can install to make ASPM changes. This is of course particularly interesting when setting up a NAS. Would an implementation perhaps also be interesting for OMV?
Hi everyone,
in the Unraid forum I saw a plug-in that you can install to make ASPM changes. This is of course particularly interesting when setting up a NAS. Would an implementation perhaps also be interesting for OMV?
Is it making changes system wide or by device? By default, your system will do whatever your bios is set to. Doesn't seem like a plugin is needed for that.
I bought an Asrock N1000DC-ITX mainboard for my NAS. I made all the settings to be able to operate the NAS as economically as possible. However, there are devices that cannot be put to sleep without further ado (in my case, for example, it was the onboard Realtek network card). In Powertop I only got into C3 as C-States.
lspci -vv | awk '/ASPM/{print $0}' RS= | grep --color -P '(^[a-z0-9:.]+|ASPM |Disabled;|Enabled;)'
I was able to manually send the network card to sleep mode, so that I can now get to C8 in Powertop. This enabled me to almost halve the power consumption.
I have no idea about programming. I thought it might be an idea that could be adopted.
I have no idea about programming. I thought it might be an idea that could be adopted.
I wasn't suggesting you do the programming. I just don't know what the unraid plugin is doing. If it was just making a system wide change, I didn't think a plugin would be worth it. If it is making per device changes, then maybe it is. It might be dangerous though. People might try to put everything to sleep. What did you use to put the network card to sleep?
A user from the forum has put together a script. I have manually put my network card into sleep mode using the setpci command.
https://forums.unraid.net/topic/171293-how-to-aspm-set-pci-per-script-veraltet-per-plugin-aktuell/
ok, that is what I figured. Maybe if I have time, I will look into this more.
Thanks for your support. I really appreciate it.
Don’t have an account yet? Register yourself now and be a part of our community!