papampi / nvOC_by_fullzero_Community_Release

nvOC free-easy-to-use Linux Nvidia Mining OS, Community Release
GNU General Public License v3.0
38 stars 23 forks source link

Add support for multiple miner instances to segregate GPUs on single rigs #247

Open psynauty opened 5 years ago

psynauty commented 5 years ago

Could you please add support that allows to allocate different GPUs to different pools/algos, allowing for multiple miner instances? E.g. allocate 6 GPUs to mine grin on nicehash using gminer 1.29 and allow for a 2nd instance of gminer to mine grin directly on a pool, e.g. sparkpool. Thank you!

papampi commented 5 years ago

Its a great idea. Will try to find a way for it.

LuKePicci commented 5 years ago

I have no time at all to help you in the next weeks, but I think the easiest way to realize sucha feature could be to just isolate an entire nvOC instance such that all calls to ps/pgrep only take into account the processes related to the nvOC instance running from the current $NVOC path.

In other words, you could have /home/m1/NVOC/mining1 and /home/m1/NVOC/mining2 running at the same time. Will appear as two distinct workers on foreman too.

This is just an idea, feel free to propose yours.


Da: Payam Nab notifications@github.com Inviato: Monday, February 11, 2019 12:39:59 PM A: papampi/nvOC_by_fullzero_Community_Release Cc: Subscribed Oggetto: Re: [papampi/nvOC_by_fullzero_Community_Release] Add support for multiple miner instances to segregate GPUs on single rigs (#247)

Its a great idea. Will try to find a way for it.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/papampi/nvOC_by_fullzero_Community_Release/issues/247#issuecomment-462298548, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AIUXthSFQ5_okmAKOtb9c2CKZIRMU67gks5vMVaPgaJpZM4a0ACU.

papampi commented 5 years ago

I was thinking about the same path, but then how could we run 2 instances of gnome-terminal with 2 default profiles at boot?

LuKePicci commented 5 years ago

Will deal with that later on. It’s easy to address this issue running other instancees as systemd service. Then we could find a way of getting the old gnome-terminal approach working too.


Da: Payam Nab notifications@github.com Inviato: Monday, February 11, 2019 12:55:21 PM A: papampi/nvOC_by_fullzero_Community_Release Cc: Luca Piccirillo; Comment Oggetto: Re: [papampi/nvOC_by_fullzero_Community_Release] Add support for multiple miner instances to segregate GPUs on single rigs (#247)

I was thinking about the same path, but then how could we run 2 instances of gnome-terminal with 2 default profiles at boot?

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/papampi/nvOC_by_fullzero_Community_Release/issues/247#issuecomment-462302417, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AIUXtj3sG6kdqImhGAzBCjG4tvwTytCjks5vMVopgaJpZM4a0ACU.

psynauty commented 5 years ago

Thanks guys!

papampi commented 5 years ago

@psynauty No worries. As soon as I find some free time will start working on it.

papampi commented 5 years ago

Work in progress https://github.com/papampi/nvOC_by_fullzero_Community_Release/pull/254