You are not logged in.

#1 2022-05-05 12:12:54

Rommy
Member
Registered: 2014-10-17
Posts: 51

Restrict NVMe Power states

With Linux it is possible to restrict the CPU to not switch to the highest power states (for example for less heat).
Is there a way to achieve the same for a NVMe disk?
e.g. throttle it at a lower power state?

Offline

#2 2022-05-05 20:03:38

Rommy
Member
Registered: 2014-10-17
Posts: 51

Re: Restrict NVMe Power states

In the manpage nvme-set-feature I found the following command:

nvme set-feature /dev/nvme0 -f 2 /dev/nvme0n1 -v 0x1

But I am not really sure, what it does, because the wording "Sets the Power State (PS) to 1 in feature id 2" is not clear for me. Are there multiple feature ids and I need to set the power state to all of the features? Will this be permanent for the current boot?

Offline

Board footer

Powered by FluxBB