Giter VIP home page Giter VIP logo

Comments (20)

Draco-Falcon avatar Draco-Falcon commented on July 1, 2024 1

from nvoc_by_fullzero_community_release.

sizzlephizzle avatar sizzlephizzle commented on July 1, 2024 1

from nvoc_by_fullzero_community_release.

LuKePicci avatar LuKePicci commented on July 1, 2024 1

I will now close this because we should keep separate discussions about remote control (restart, reboot and other commands) and remote monitoring now that we have integrated Foreman monitoring support. Feel free to discuss further possibilities for remote control if we like.

from nvoc_by_fullzero_community_release.

sizzlephizzle avatar sizzlephizzle commented on July 1, 2024

Rather than crafting our own, why not use webmin? Can remotely SSH from the webpage and edit files within web browser....if I remember rightly.

from nvoc_by_fullzero_community_release.

papampi avatar papampi commented on July 1, 2024

Yes, you can do ssh, edit files, update packages and ....
Problem is it has too many options and users can easily break their rigs using it.

from nvoc_by_fullzero_community_release.

sizzlephizzle avatar sizzlephizzle commented on July 1, 2024

from nvoc_by_fullzero_community_release.

papampi avatar papampi commented on July 1, 2024

Was just an idea ... nothing serious ...

from nvoc_by_fullzero_community_release.

doftorul avatar doftorul commented on July 1, 2024

We definitely need a re-working of the web interface, for anyone using more than 2 rigs this is a must.
However, while the webmin may sound attractive i really don;t support this idea, its way too heavy for what we need and can;t be extended nor can it be deployed by simply copying a binary and a template...
If we are looking at mass adoption of nvOC and use on large scale mining operations, it has to provide meaningful reporting as well as remote editing of the configuration files.
I would encourage the use of nodejs and javascript to render a web page instead of the current cgi-bin approach using the apache web server. It eats lots of power and cpu cycles for no real gain.

I am already working on a prototype, however life is interfering badly with my schedule, so it might take a while.
At a glance, the web interface will allow adding of a new coin, wallet address, changing the hostname, realtime updates from the miner internal statistics. Granted, some of the obscure miners do not have a API yet, however they'll not last, so no bother there.

TBH, the use of a fully fledged desktop solution is a losing bet, i can argue that i am losing lots of $$$ every month with a few thousand rigs by having to waste cpu cycles on a crappy and useless desktop interface when mining might be better suited for headless operation and management and monitoring exclusively via a web interface.

from nvoc_by_fullzero_community_release.

doftorul avatar doftorul commented on July 1, 2024

By taking a look at the current issues reported by users, almost all of them are due to editing 1bash or 0miner or 3main in a unsupervised way. Move that to a web interface with simple Add Coin Add Wallet Add Miner buttons and most of the issues will be gone...
Same goes for miners built on top of weird or gaming motherboards where the headless vs non-headless and so on creates hassles and issues with the xorg.conf and so on.
It goes on and on... a headless mining rig is the best way to eliminate the complexities of editing manually config files and/or managing configurations.

from nvoc_by_fullzero_community_release.

LuKePicci avatar LuKePicci commented on July 1, 2024

Agree. At the moment I have nvOCaaS, ALGO identification outside 3main and unified algo+miner selection in my mind-queue, so I really cannot help you but I really like your proposals. Will try to simplify miner+algo addition in order to make your work easier (hopefully).

from nvoc_by_fullzero_community_release.

sizzlephizzle avatar sizzlephizzle commented on July 1, 2024

from nvoc_by_fullzero_community_release.

doftorul avatar doftorul commented on July 1, 2024

I fully agree @sizzlephizzle we should definitely need to look into splitting the domains.
Although the argument that this increases the complexity, by looking at the issues reported by the users, both 1bash and 3main are already scary and more often than not people are making mistakes.

Think about not having to edit any file by hand... just select some options in a web form, all the issues with putting together logic and simple variables is nil.

We definitely need to consult with @papampi on this though since he was the biggest proponent of keeping the structure as it is (no more files added)

I, for one, would love to see nvoc evolving to a full headless operation, having the user able to simply use a webpage for operation and configuration of the rig.
We are running X, we can always simply launch a http://127.0.0.1 for initial configuration on the connected display, be it a normal card or a headless (P10x) one but with a intel GPU.

from nvoc_by_fullzero_community_release.

sizzlephizzle avatar sizzlephizzle commented on July 1, 2024

from nvoc_by_fullzero_community_release.

doftorul avatar doftorul commented on July 1, 2024

As long as the drivers for the wifi dongle are in the OS, i see no issue having anyone connected via wifi.
We can use the scripts in linux mint to auto establish an AP at first boot and allow for a connection.
I can write this easily.

from nvoc_by_fullzero_community_release.

LuKePicci avatar LuKePicci commented on July 1, 2024

The original intention was to not add a second "settings" file, which has pros in terms of simplicity. At the moment there is a clear problem in letting users edit 3main and 0miner to add new coins. The point is: are new coins to be considered as settings? I don't think so, I mean there are people who don't need to add coins on their own, others may want to without waiting for updates. For the first group of users the 1bash single settings file is fine, then who need to add coins is now enforced in editing files which should only contain code, and this is bad, sine causes problems to many people. The only easy answer is modularity. I wonder something which resembles a "coin" support package, which includes at least its algo name and a list of supported miners with associated command line. There will be no difference for who only wants to mine pre-existing coins, and will be very easy for anyone to built an external settings or coin+algo library management interface, such the web one you described.

But honestly I would not integrate it as part of nvOC itself, it helps to keep as you said, separated domains, core, settings, reporting, management etc. (think to it as the desktop manager of a linux distro).
Regarding the conversion to headless-only mode, I think this is something that should concern only the surrounding OS in which nvOC is configured to run. It is more an hardware-support issue. For example I would not dislike the co-existence of the standard image as we have now, and a full-headless only image with lot of optimizations like, for example, the absence of a desktop manager.

Please remember that nvOC is awesome because it's either easy to start using and free, and should be "sexy" for both beginners and large scale miners.

from nvoc_by_fullzero_community_release.

doftorul avatar doftorul commented on July 1, 2024

I do have a sort of a inexplicable attraction and love towards nvOC and a feeling of loyalty which drive me to use it on a quite large deployment, however, it is not suited for large deployments. Its a PITA actually to manage it, still, i am a strong believer that one day we can have it usable by large scale operations.
One of the important points is getting rid of that desktop thingie... in my case the use of the desktop interface eats up close to 1.34 MW of electricity wasted per month. That's lost revenue for no gain.
In order to push changes remotely, i have developed scripts using this: https://github.com/vallard/psh
Still, i do love it. However, when you have literally hundreds of rigs showing you the dreaded nvidia-smi not found just because we run a damned desktop when there's no need for one, the re-deploying of hundred of images gets hurtful very fast both in terms of wasted time and lost revenue.
Still ... i love nvOC.
Lack of reporting/monitoring is another major issue for a large scale operation. I have developed my own telegraf --> influxdb ---> alerta.io dashboard to see which rig has issues. I am using the reported power draw of the GPU's from 6tempcontrol for this, however, i will need as well the reported hashrate and some other useful stats like CPU's idle time and potential PCIeX bus bottlenecks.
Yet, i still love nvOC. It is painful to manage in its current state for any large scale deployment.
There are some design choices that might need to be reconsidered, such as running the dreaded gnome-terminal profile thingie instead of having a system.d "service" for 2unix AND the miner...
Slowly we might get there, still i am not giving away my hope that one day we shall look more into having it able to server both the miner with 5 cards and the miner with 50000 cards ...

from nvoc_by_fullzero_community_release.

doftorul avatar doftorul commented on July 1, 2024

A easy transition can be done, we can use with no code changes the web ssh https://github.com/billchurch/WebSSH2 to show all the logs and attach screens.

from nvoc_by_fullzero_community_release.

sizzlephizzle avatar sizzlephizzle commented on July 1, 2024

from nvoc_by_fullzero_community_release.

doftorul avatar doftorul commented on July 1, 2024

Can't use it for much when there are cards with different OC values, sure you can push some coin change, that way if the algo is similar with whatever you mined before you are good to go, however, if you need to change something particular to some rigs and not the others, then you have to do it by hand. Same applies for pushing a new miner, you need to download it on all the rigs, etc...

The web interface is the way forward for these scenarios, having a API with some endpoints like addcoin, addwallet, addpool, changeOC, etc ..., upload miner, etc ... then a dashboard with all the critical information.

Its also difficult to OC thousands of rigs when you need to be physically present in front of them in order to be sure the OC settings are ok, that is, without some remote reporting or a centralised dashboard that can poll the rig or having some script on the rig to push centrally stats on power draw and hashrate for each card, something that i did using telegraf and influxdb.

Its tedious to have configuration management for thousands of rigs without a headless approach, the only way is via remoting using web

from nvoc_by_fullzero_community_release.

papampi avatar papampi commented on July 1, 2024

Amazing discussion ...
Just a small hint @doftorul I dont have that many rigs and not so many types, I have 2 type of rigs, 1060+p106 and 1070 rigs, so I made 2 set of pastebin 1bash and put them in their rigs.
So when needed I can easily edit them.
You can easily make as many types you have in pastebin, give them names and add the code in 1bash.

from nvoc_by_fullzero_community_release.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.