Bitcoin Forum
March 19, 2024, 10:17:44 AM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: [Open Source Release] GpuControl - Remote Gpu Monitoring  (Read 1356 times)
dab (OP)
Newbie
*
Offline Offline

Activity: 42
Merit: 0


View Profile
February 19, 2012, 06:08:56 AM
Last edit: February 19, 2012, 10:12:05 AM by dab
 #1

Hello everyone. This isn't exactly the place I would want to release this, but being a newb to the forum I have no choice. Tongue

About the project
Yesterday a miner friend of mine was trying to get me back into mining. I started but the machine was across the room. I hated moving out of bed to check on the temps of the machine and I didn't know the IP to remote into it. So. I did some research and set aside 24 hours for me to work on this project. This is the result of my 24 hour coding challenge.

I finished it a few hours short of my allotted 24 hours, which also included 6 hours of sleep so the project itself might not be that great but the base of it is something that could definitely be expanded upon.

What is it?
GpuControl is a remote control panel for monitoring your your remote machines. Notice I said, MachineS. yes. This software supports multiple machines to be controlled and monitored all in real time. Well, semi real time. The Client program collects data every 2 seconds (can be adjusted as it is open source though). Then add onto that the time it takes for information to travel across the interwebz.

How does it work?
Ok, this might turn off a lot of users but it uses VB.net (useful for rapid prototyping) and MSI Afterburner. MSI Afterburner offers an IPC (Inter Process communications) API that I can use to talk to it about the graphics cards. This makes the client have high compatibility out of the gate. So I'll build a layer of how this control panel works:

Client: This is the program that runs on your mining rigs. It gathers a list of all your GPUs and connects to the server
Server: this is a node.js server that listens to 2 ports. 1 for the client, and 1 for socket.io communication for the web browser control panel.
HTML: This is a static HTML file that connects to the server, and sends and receives requests from the server. You wouldn't need a webserver for this file.

Pros vs. Cons?
Pros:
  • Allows for cross platform checking of GPU Temps, and allows adjustments of fan speed from remote panel (Only needs a web browser to work)
  • Client to server uses SSL communications to keep things private.
  • CLient to server uses simple authorization to prevent unauthorized machines from connecting to the server
  • Simple server to html authentication to prevent just anyone from controlling your server
  • Has high compatibility with any card MSI Afterburner supports
  • Includes simple auto fan increase when approaching a certain temp. (Ie: increase fan speed 10% when reaching 90C)

Cons:
  • Currently the client is windows only
  • Socket.io to HTML connection not secured (I'm sure its somewhat simple to implement, just didn't care enough)
  • Relies on MSI Afterburner
  • Security is probably not up to par of what some would expect (I'm not a security expert)
  • The server is only coded to allow 1 user to view the temps at a time. This was more a lazy thing than a not possible thing.

Summary
Its a pretty straight forward panel really. Quick "how to setup" thing:
1) Compile Client
2) Install Node.js on a server
3) Install socket.io either via npm or by checking out their code from github
4) Place the html file under a web server
5) Configure host for client, and html file.
6) In the node-server.js (node server), edit the server keys. They can be anything you want really. I used a random 16-character string for mine.
7) Edit passwords list. This is for the control panel.

I apologize in advanced for the horribly non-commented code I have produced. As I said, this was a 24 hour project. I wasn't really expecting to release it but my friend said it was really good. I also had the intention of marketing it, but due to the fact that DDoS attacks tend to follow bitcoin related operations, I decided it wasn't worth it.

Ok, enough talk. You can find the code here:
https://github.com/dabbers/GpuControl

If you have any questions, feel free to ask.
As for license, I don't have one. It's free for anyone to use, abuse, sell, buy, whatever. I'd appreciate some credit and/or donation if it does benefit you though.

If you wish to donate, you can send a little something something here: 1KTum8RdSKE8WNbCCqgwgRgYhA3TszbUiY

If you don't have Visual Studio 2010, I can upload compiled versions of the software.
http://dab.biz/images/screenie/2012-02-19_0201.png
http://dab.biz/images/screenie/2012-02-19_0207.png
http://dab.biz/images/screenie/2012-02-19_0158.png
Thanks, hope you enjoy!
1710843465
Hero Member
*
Offline Offline

Posts: 1710843465

View Profile Personal Message (Offline)

Ignore
1710843465
Reply with quote  #2

1710843465
Report to moderator
1710843465
Hero Member
*
Offline Offline

Posts: 1710843465

View Profile Personal Message (Offline)

Ignore
1710843465
Reply with quote  #2

1710843465
Report to moderator
You get merit points when someone likes your post enough to give you some. And for every 2 merit points you receive, you can send 1 merit point to someone else!
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1710843465
Hero Member
*
Offline Offline

Posts: 1710843465

View Profile Personal Message (Offline)

Ignore
1710843465
Reply with quote  #2

1710843465
Report to moderator
Sannyasi
Sr. Member
****
Offline Offline

Activity: 454
Merit: 250



View Profile WWW
February 19, 2012, 06:19:58 AM
 #2

Hey folks, I helped mr dab test this out and it works great for me so far, I've been able to monitor remotely as well as adjust fan speeds just like advertised. Not alot of software out there that we could find that can do this so hopefully this will help some miners out that don't sit in front of their rigs all day!

1DxP5iL6hN5Gd3cwmDz9uFSntW8ALBQaGK

http://gamerkeys.net/common/home.htm <- the best place to get games!

my portfoio: http://windowsofamind.com
dab (OP)
Newbie
*
Offline Offline

Activity: 42
Merit: 0


View Profile
February 19, 2012, 08:22:39 PM
 #3

Thanks for posting san. :> There is about as much interest in this as I had figured there would be though :<
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!