It is currently Mon Dec 05, 2016 2:03 pm

All times are UTC - 8 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Fan driver for Linux
PostPosted: Sun Aug 28, 2016 11:50 am 
Offline

Joined: Wed Aug 13, 2014 12:55 am
Posts: 2
I hope you'll forgive a boast thread, but someone might find it useful. Also sorry for copying the readme, but for some reason I wrote it to say exactly about what the software does :-)

It's called PySystemFan and it's a fan manager for linux machines (focused on silent running, of cause).

PySystemFan assigns several thermometers (accessed through hwmon interface in /sys or using smarctl for harddrives) to each fan and regulates its speed so that all of the temperatures are at or below a specified setpoint. If your system has too powerful fan for the heat it generates (minimum fan speed is too much cooling for the set temperature and no fan is not enough cooling), this software can also prevent fan from frequently stopping and starting by exponentially increasing (up to a limit) time it waits before the fan is stopped. As a side effect of smartctl based drive temperature measurements PySystemFan also has to spin down drives in case of inactivity instead of relying on the HDD firmware, because my WD reds counted temperature polling as access (this is optional).

PySystemFan not 100% finished yet, but it works already. It's being tested (as in running 24/7 for the last few months) in a small NAS system built in my custom case. Exponential fan-off backoff is still being tweaked, the other features seem to be working well. What's missing is mostly in the front end and packaging departments.

PySystemFan is written in python 3 with no dependencies outside standard library. smartctl and hdparm commands are needed to measure temperatures of harddrives and to spin them down. The code is Linux specific now, but should be reasonably simple to extend to other unixes (as long as the OS has a way to measure temperature and control a fan).

Feedback is appreciated :-).


Top
 Profile  
 
 Post subject: Re: Fan driver for Linux
PostPosted: Sun Aug 28, 2016 12:42 pm 
Offline
Moderator

Joined: Thu Oct 06, 2005 4:36 am
Posts: 6350
Location: Monterey Bay, CA
Welcome to SPCR.

https://github.com/bluecube/pysystemfan

_________________
1080p Gaming build: i5-4670K, Mugen 4, MSI Z87-G45, MSI GTX 760 2GB Gaming, 8GB 1866 RAM, Samsung Evo 250GB, Crucial MX100 256GB, WD Red 2TB, Samsung DVD burner, Fractal Define R4, Antec True Quiet 140 (2 front + rear) case fans, Seasonic X-560. 35-40W idle, 45-55W video streaming, 170-200W WoW, 200-230W Rift, 318W stress test (Prime95 + Furmark)

Support SPCR through these links: NCIX, Amazon and Newegg


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group