What's everyone working on this week (49/2024)?

New week, new Rust! What are you folks up to?

Fan control on Nvidia GPU's for 'nix.

The native drivers are terrible in this respect. Running Stable Diffusion / Automatic1111 can quickly see the GPU (in my case, an RTX3090) nearing thermal shutoff. The native drivers DO begin increasing the speed of the fans, but they wait too long and never increase the speed to 100%. You essentially wind up with something akin to a thermal runaway.

When you consider how expensive these things are, this is less than desirable!

So after a ton of digging, and NOT wanting the fans to run at 100% all the time, I wrote a super simple process that monitors core temp and aggressively increases fan speeds as the temperature goes up. Runs and works now, but I'm now working on a test mode and the ability to specify fan curves (if you will) in configuration.

1 Like

I'm working on a threading implementation for linux, but from scratch (no pthreads) and with more customization (e.g. choose whether or not the child shares memory, or the FS, or whether or not it's considered a posix thread, etc.). That way it transcends just threads: it also includes forking, Command, and perhaps more.

It's been fun so far, but there's a dearth of documentation on the subject. I plan on writing a blogpost on my findings, so others can benefit from my struggles.

3 Likes