this post was submitted on 16 Nov 2024
30 points (96.9% liked)

Linux

5491 readers
557 users here now

A community for everything relating to the linux operating system

Also check out !linux_memes@programming.dev

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

founded 2 years ago
MODERATORS
 

I have a multiboot system. One of the installed OS's does not use the NVMe SSD installed on the motherboard at all.
At the time of taking the screenshot, all the SSD partitions are unmounted, so apart from detection, the SSD is mostly unused.

  • I would like the temps to drop down to SYSTIN (≈35°C) levels.
  • I know, it's right next to my GPU, but I am not doing anything GPU intensive, the GPU temps are ~37°C ^[apart from GPU memory, which is 48°C due to the awful AMD 7th gen Zero RPM, which has no workarounds on Linux]

For the unmounted and unused HDDs, I just use hdparm -Y, but there seems to be nothing in terms of that for the SSD. And even though I appreciate the additional heat in winters, this is going to be too expensive for me. I'd rather burn some cheap Nichrome than my data storage device.

I checked out a Debian forum thread and from that, I checked the following:

❯ sudo nvme get-feature /dev/nvme0 -f 2 -H
get-feature:0x02 (Power Management), Current value:0x00000004
        Workload Hint (WH): 0 - No Workload
        Power State   (PS): 4

Showing it is already in the lowest power state.

I have no active cooling setup for the SSD from my side. This becomes relevant soon.

  • Checking the SSD temps (using the same widget as in the image), the temperature on Sensor 2 starts out at ~40°C (after a normal reboot) and slowly increases to >50°C as shown at the start of the graph. Power State (PS) is still 4.

  • Running KDE partitionmanager, which probably does some reading to check the partition information, at 50°C stage, causes a temperature drop, as shown in the image.

  • Running KDE partitionmanager right after reboot, when the temperature is increasing very sloowly, seems to do nothing significant.


  • Turns out that after a few minutes of System Standby, the SSD doesn't return to PS: 4, so I have the culprit.
  • Running partitionmanager after that causes it to go back to PS: 4

So we have a solution! All I need to do is run partitionmanager on wake. nlol jk


Motherboard: MSI MAG X570S TORPEDO MAX (MS-7D54)
SSD: Samsung 980 512GB (correct firmware, bought long before the fakes started coming out)

top 7 comments
sorted by: hot top controversial new old
[–] taaz@biglemmowski.win 3 points 1 month ago* (last edited 1 month ago) (1 children)
[–] ulterno@programming.dev 2 points 1 month ago

Finally, yaay!
Thanks to Wolfgang Müller.

My GPU Zero RPM stayed on until 60°C and considering I lost my laptop to heat just last year, this was pinching me now and then.

[–] nanook@friendica.eskimo.com 3 points 1 month ago (1 children)

I've got a Gigabyte X299 Aorus Master with i9-10980xe overclocked at 4.8Ghz, two nvme drives mounted on the motherboard, this is about the most power hungry consumer level CPU you can get (maxes at around 540 watts), yet the ssd's which are also fairly heavily used in a database, only run at about 29C. Perhaps your GPU is heating up your SSDs? I have no active cooling on mine either, just the cheesy heat sinks. I'm running 6.11.2, unfortunately 6.11 kernels past two have some code that breaks the i9-10980xe so stuck at that for the moment.

[–] ulterno@programming.dev 1 points 1 month ago

Perhaps your GPU is heating up your SSDs?

Of course, that is happening to an extent, but the moon is not hotter than the sun, right?


Also, I later found out, the problem was that the SSD was staying on when I woke from Sleep.

As to why my OFF temp is higher than your ON temp, it's probably just bad airflow, which I haven't come to fix yet.

[–] ulterno@programming.dev 1 points 1 month ago

Wait, could this be my first kernel bug?
:wowie red face:

[–] possiblylinux127@lemmy.zip 1 points 1 month ago (1 children)

The drive heats up with use

Could you just get a small fan?

[–] ulterno@programming.dev 0 points 1 month ago

Of course a drive heats up with use.

As I explained in the wall of text above, it was heating when NOT in use.
The reason being that after wake from S3 Sleep, it was turning on and not turning back off (as it should because it was NOT MOUNTED).

I just need to check which process is responsible for the SSD's power state management (systemd maybe?) and then see if something can be changed.