01-09-2020, 03:22 PM
I have tried to follow the Wiki section to set the power profile of the NVMe SSD.
sudo nvme /dev/nvme0 id-ctrl /dev/nvme0
returns:
ps 0 : mp:3.30W operational enlat:0 exlat:0 rrt:0 rrl:0
rwt:0 rwl:0 idle_power:- active_power:-
ps 1 : mp:2.70W operational enlat:0 exlat:0 rrt:1 rrl:1
rwt:1 rwl:1 idle_power:- active_power:-
ps 2 : mp:2.30W operational enlat:0 exlat:0 rrt:2 rrl:2
rwt:2 rwl:2 idle_power:- active_power:-
ps 3 : mp:0.0500W non-operational enlat:10000 exlat:45000 rrt:4 rrl:4
rwt:4 rwl:4 idle_power:- active_power:-
ps 4 : mp:0.0050W non-operational enlat:10000 exlat:50000 rrt:4 rrl:4
rwt:4 rwl:4 idle_power:- active_power:-
Not really sure hot to decypher the output, but I'm assuming that ps 2 is the profile I want as its the lowest power with the drive operational.
I have tried setting this profile using
sudo nvme /set-feature /dev/nvme0 -f 2 -v 2
This seems to work until a reboot when it defaults back to profile 0.
Is there a command missing to save it to the NVMe?
Also after googling to try and find how to make NVMe setting persistant, I found some references to enabling Autonomous Power State Transistion rather than editing the power management.
Which is the correct one to use APST (feature 0x0c) or Power Managment (feature 2) and how to make these setting persistent?
sudo nvme /dev/nvme0 id-ctrl /dev/nvme0
returns:
ps 0 : mp:3.30W operational enlat:0 exlat:0 rrt:0 rrl:0
rwt:0 rwl:0 idle_power:- active_power:-
ps 1 : mp:2.70W operational enlat:0 exlat:0 rrt:1 rrl:1
rwt:1 rwl:1 idle_power:- active_power:-
ps 2 : mp:2.30W operational enlat:0 exlat:0 rrt:2 rrl:2
rwt:2 rwl:2 idle_power:- active_power:-
ps 3 : mp:0.0500W non-operational enlat:10000 exlat:45000 rrt:4 rrl:4
rwt:4 rwl:4 idle_power:- active_power:-
ps 4 : mp:0.0050W non-operational enlat:10000 exlat:50000 rrt:4 rrl:4
rwt:4 rwl:4 idle_power:- active_power:-
Not really sure hot to decypher the output, but I'm assuming that ps 2 is the profile I want as its the lowest power with the drive operational.
I have tried setting this profile using
sudo nvme /set-feature /dev/nvme0 -f 2 -v 2
This seems to work until a reboot when it defaults back to profile 0.
Is there a command missing to save it to the NVMe?
Also after googling to try and find how to make NVMe setting persistant, I found some references to enabling Autonomous Power State Transistion rather than editing the power management.
Which is the correct one to use APST (feature 0x0c) or Power Managment (feature 2) and how to make these setting persistent?
Linux n00b trying to learn.
Brute force and ignorance sometimes works!
| Pinebook Pro + Toshiba OCZ RC100 240GB |
Brute force and ignorance sometimes works!
| Pinebook Pro + Toshiba OCZ RC100 240GB |