- Joined
- May 28, 2011
- Messages
- 10,996
So I'm playing around with APST (I had a slow day thankfully). I noticed when I'm using SCALE, the power states will shift around depending on what the drive (1TB EX900 Plus M.2) needs to perform. Do not get distracted by the fact that I have only one M.2 drive, it is purely for testing. My NVMe has 5 power states (0-4) and will typically remain in power state 4 (0.0090W) for SCALE. It appears that APST is well supported in Debian.
Now for CORE 13. It appears that APST is not functional here, at least by default. The NVMe starts off in power state 0 (3.000W) and remains there all the time.
I am able to use the command
In searching the internet for half a day I was unable to find any real mention of APST with FreeBSD or TrueNAS. The few things I could find were very elusive and talked about the AHCI driver could be the issue, but that was more of a discussion about AHCI but it did mention APST.
Here comes the question and I'm sorry I'm even asking it but I've exhausted my brain and the internet searching:
Is there any way to get TrueNAS CORE to make the NVMe APST work properly? I was hoping for a tunable that would work but I have not found that either.
I also understand that I could force the NVMe to allow a lesser maximum power state but that is not what I'm looking for. I do plan to use this feature and to test the nvme speed with various setting. But APST is what I'm after. Maybe the answer is FreeBSD does not support it. If that is it, then I can stop plucking the rest of my hair out and move on.
Now for CORE 13. It appears that APST is not functional here, at least by default. The NVMe starts off in power state 0 (3.000W) and remains there all the time.
I am able to use the command
nvmecontrol power -p 4 nvme0
to force the NVMe into power state 4, and it will remain there until the drive is asked to do some real work and then it is back to power state 0 and will remain, it will not drop to a lower power state automatically.In searching the internet for half a day I was unable to find any real mention of APST with FreeBSD or TrueNAS. The few things I could find were very elusive and talked about the AHCI driver could be the issue, but that was more of a discussion about AHCI but it did mention APST.
Here comes the question and I'm sorry I'm even asking it but I've exhausted my brain and the internet searching:
Is there any way to get TrueNAS CORE to make the NVMe APST work properly? I was hoping for a tunable that would work but I have not found that either.
I also understand that I could force the NVMe to allow a lesser maximum power state but that is not what I'm looking for. I do plan to use this feature and to test the nvme speed with various setting. But APST is what I'm after. Maybe the answer is FreeBSD does not support it. If that is it, then I can stop plucking the rest of my hair out and move on.