Bitcoin Forum

Bitcoin => Mining => Topic started by: kuebk on September 09, 2011, 07:57:03 AM



Title: node-gpu - gpu monitoring tool with online charts
Post by: kuebk on September 09, 2011, 07:57:03 AM
Hello,

I've created a AMD ADL3 bindings for node.js, which lets you control your gpu just from server side javascript.
So far there is only one example which let's you monitor all of your GPUs in all of your PCs and draws the data (right now it allows to monitor temperature, activity, fan speed in rpm, memory and core clock) on canvas charts right in you browser - what means you can have access to this from any place in the world.

If you experience any problems please post an issue.

Requirements:
- node.js (https://github.com/joyent/node)
- works only under linux

Link:
https://github.com/kuebk/node-gpu

Donations:
1FyAdyS8FmJZ22jc6jPG1eYXAAmFUcj7VU

Preview:
http://img716.imageshack.us/img716/3549/nodegpu.png


Title: Re: node-gpu - gpu monitoring tool with online charts
Post by: The LT on September 09, 2011, 08:43:01 AM
A very interesting project, but it currently lacks concise installation instructions.


Title: Re: node-gpu - gpu monitoring tool with online charts
Post by: kuebk on September 09, 2011, 09:02:45 AM
I think it's not that hard to install this, there is no much of configuration too.
Will make an instruction on how to properly install it soon.

Requirements:
- works only under linux
- node v0.4.11 (I was developing under this version, newest version might also work)

Short (and simplified) installation steps:
- download and install node.js (installation instructions: https://github.com/joyent/node (https://github.com/joyent/node), download link: http://nodejs.org/dist/node-v0.4.11.tar.gz)
- download and build node-gpu (https://github.com/kuebk/node-gpu (https://github.com/kuebk/node-gpu), build instructions are in readme - don't forget to fetch submodules)

Idea:
- you need to install node-gpu on all of your miners.
- all of them needs to be running the slave module (using command: node slave/index.js)
- one of them needs to be running the master module (using command: node master/index.js)
- browser can be used just from your deskop webserver is not really needed.

Communication:
By default slave <-> master communication works using sockets on port 8888, master <-> browser communcation works using http ajax on port 8080.
The host of master to which browser will connect is configurable in browser/index.html, the port under which master will work is in in master/index.js, port under which slave works and master connects to are in slave/index.js and in master/index.js.

I know not everything is consist right now but it's really early version. :)


Title: Re: node-gpu - gpu monitoring tool with online charts
Post by: kuebk on September 12, 2011, 10:05:26 PM
Are the install instructions more clear now?