MultiPoolMiner icon indicating copy to clipboard operation
MultiPoolMiner copied to clipboard

try convert .ps1 to .exe

Open gemini100 opened this issue 9 years ago • 22 comments

i notice that powershell consume a little bit ressourcess more than an exe classic monitoring software that s why there not enough ressources in a little cpu like my g4400 and cause, i think, claymore dual to crash on my two principals rig, when i add a cpuminer on 1 thread my cpu goes to 100% because powershell 5 need between 48 and 70% ressources of cpu....

i was trying to convert multipoolminer.ps1 to multipoolminer.exe it seems to work, i convert now include too.... i will tell you guys about my little experience, i m conscient that it would be more complicated and huge pain to ass, but it's a begining like always

gemini100 avatar Oct 19 '17 20:10 gemini100

I would just recommend turning CPU mining off as it wouldn't be worth it anyway.

It's wrote in PowerShell for flexibility; I could have done it in C# or C++ and compiled it. There are plenty of improvements to be made including optimizing but it's to remain as plain PowerShell.

aaronsace avatar Oct 19 '17 20:10 aaronsace

thanks arronsace, yes i turn off cpu mining but on my two 6 gpu rigs, it crash when doing claymore dual, i think, not sure, MPM is very clever like that, it turn very well on two small little rig one and two gpu, for 6, it keep crashing when mining with claymore i think

and i try nicehash legacy, no crash, and the good minercontrol of Kbomba originally, no crash.... i m very disapointed cause i ll planning work with MPM ... for all rigs here is the last lines of my log file: it tell that crash for ccminer-x64.exe -a sib but claymore was running or shutting down may be

   Status: Running

    Speed Active                      Launched Command
    ----- ------                      -------- -------
0.00 PH/s 00 Days 00 Hours 00 Minutes Once     Bin\NVIDIA-TPruvot\ccminer-x64.exe -a sib -o
                                               stratum+tcp://sib.mine.zpool.ca:5033 -u
                                               33t3PFhfgdhss55f4ddsxfqmskxdjcnB26fgd -p worker2,c=BTC


   Status: Idle

    Speed Active                      Launched Command
    ----- ------                      -------- -------
1.77 KH/s 00 Days 00 Hours 01 Minutes Once     Bin\Equihash-EWBF\miner.exe --eexit 1 --api --server
                                               equihash.eu.nicehash.com --user
                                               33t3PFhfgdhss55f4ddsxfqmskxdjcnB26fgd.worker2 --pass x --port 3357
                                               --solver 0
0.00 PH/s 00 Days 00 Hours 01 Minutes Once     Bin\Ethash-Claymore\EthDcrMiner64.exe -r -1 -mport 23333 -epool
                                               europe.ethash-hub.miningpoolhub.com:20535 -ewal geminiwhitehat.worker2
                                               -epsw x -esm 3 -allpools 1 -allcoins 1 -platform 2
0.00 PH/s 00 Days 00 Hours 01 Minutes Once     Bin\Ethash-Claymore\EthDcrMiner64.exe -r -1 -mport 23333 -epool
                                               europe.ethash-hub.miningpoolhub.com:20565 -ewal geminiwhitehat.worker2
                                               -epsw x -esm 3 -allpools 1 -allcoins 1 -platform 2
0.00 PH/s 00 Days 00 Hours 01 Minutes Once     Bin\Ethash-Claymore\EthDcrMiner64.exe -r -1 -mport 23333 -epool
                                               europe.ethash-hub.miningpoolhub.com:20565 -ewal geminiwhitehat.worker2
                                               -epsw x -esm 3 -allpools 1 -allcoins exp -dpool
                                               decred.mine.zpool.ca:5744 -dwal 33t3PFhfgdhss55f4ddsxfqmskxdjcnB26fgd
                                               -dpsw worker2,c=BTC -dcoin dcr -dcri 20 -platform 2
0.00 PH/s 00 Days 00 Hours 02 Minutes Once     Bin\NVIDIA-TPruvot\ccminer-x64.exe -a equihash -o
                                               stratum+tcp://equihash.eu.nicehash.com:3357 -u
                                               33t3PFhfgdhss55f4ddsxfqmskxdjcnC3Pc5RN.worker2 -p x
0.00 PH/s 00 Days 00 Hours 01 Minutes Once     Bin\Ethash-Claymore\EthDcrMiner64.exe -r -1 -mport 23333 -epool
                                               europe.ethash-hub.miningpoolhub.com:20565 -ewal geminiwhitehat.worker2
                                               -epsw x -esm 3 -allpools 1 -allcoins exp -dpool
                                               decred.mine.zpool.ca:5744 -dwal 33t3PFBEGwVm3cuoQUwXNrfwVEwC3Pc5RN
                                               -dpsw worker2,c=BTC -dcoin dcr -dcri 30 -platform 2
0.00 PH/s 00 Days 00 Hours 01 Minutes Once     Bin\Ethash-Claymore\EthDcrMiner64.exe -r -1 -mport 23333 -epool
                                               europe.ethash-hub.miningpoolhub.com:20565 -ewal geminiwhitehat.worker2
                                               -epsw x -esm 3 -allpools 1 -allcoins exp -dpool
                                               decred.mine.zpool.ca:5744 -dwal 33t3PFBEGwVm3cuoQUwXNrfwVEwC3Pc5RN
                                               -dpsw worker2,c=BTC -dcoin dcr -dcri 40 -platform 2
0.00 PH/s 00 Days 00 Hours 01 Minutes Once     Bin\NVIDIA-KlausT\ccminer.exe -a groestl -o
                                               stratum+tcp://europe.hub.miningpoolhub.com:20486 -u
                                               geminiwhitehat.worker2 -p x
0.00 PH/s 00 Days 00 Hours 01 Minutes Once     Bin\Ethash-Claymore\EthDcrMiner64.exe -r -1 -mport 23333 -epool
                                               europe.ethash-hub.miningpoolhub.com:20565 -ewal geminiwhitehat.worker2
                                               -epsw x -esm 3 -allpools 1 -allcoins exp -dpool
                                               lbry.eu.nicehash.com:3356 -dwal
                                               33t3PFBEGwVm3cuoQUwXNrfwVEwC3Pc5RN.worker2 -dpsw x -dcoin lbc -dcri 40
                         Status: Running

    Speed Active                      Launched Command
    ----- ------                      -------- -------
0.00 PH/s 00 Days 00 Hours 00 Minutes Once     Bin\NVIDIA-TPruvot\ccminer-x64.exe -a sib -o
                                               stratum+tcp://sib.mine.zpool.ca:5033 -u
                                               33t3PFhfgdhss55f4ddsxfqmskxdjcnB26fgd -p worker2,c=BTC


   Status: Idle

    Speed Active                      Launched Command
    ----- ------                      -------- -------
1.77 KH/s 00 Days 00 Hours 01 Minutes Once     Bin\Equihash-EWBF\miner.exe --eexit 1 --api --server
                                               equihash.eu.nicehash.com --user
                                               33t3PFhfgdhss55f4ddsxfqmskxdjcnB26fgd.worker2 --pass x --port 3357
                                               --solver 0
0.00 PH/s 00 Days 00 Hours 01 Minutes Once     Bin\Ethash-Claymore\EthDcrMiner64.exe -r -1 -mport 23333 -epool
                                               europe.ethash-hub.miningpoolhub.com:20535 -ewal geminiwhitehat.worker2
                                               -epsw x -esm 3 -allpools 1 -allcoins 1 -platform 2
0.00 PH/s 00 Days 00 Hours 01 Minutes Once     Bin\Ethash-Claymore\EthDcrMiner64.exe -r -1 -mport 23333 -epool
                                               europe.ethash-hub.miningpoolhub.com:20565 -ewal geminiwhitehat.worker2
                                               -epsw x -esm 3 -allpools 1 -allcoins 1 -platform 2
0.00 PH/s 00 Days 00 Hours 01 Minutes Once     Bin\Ethash-Claymore\EthDcrMiner64.exe -r -1 -mport 23333 -epool
                                               europe.ethash-hub.miningpoolhub.com:20565 -ewal geminiwhitehat.worker2
                                               -epsw x -esm 3 -allpools 1 -allcoins exp -dpool
                                               decred.mine.zpool.ca:5744 -dwal 33t3PFhfgdhss55f4ddsxfqmskxdjcnB26fgd
                                               -dpsw worker2,c=BTC -dcoin dcr -dcri 20 -platform 2
0.00 PH/s 00 Days 00 Hours 02 Minutes Once     Bin\NVIDIA-TPruvot\ccminer-x64.exe -a equihash -o
                                               stratum+tcp://equihash.eu.nicehash.com:3357 -u
                                               33t3PFhfgdhss55f4ddsxfqmskxdjcnC3Pc5RN.worker2 -p x
0.00 PH/s 00 Days 00 Hours 01 Minutes Once     Bin\Ethash-Claymore\EthDcrMiner64.exe -r -1 -mport 23333 -epool
                                               europe.ethash-hub.miningpoolhub.com:20565 -ewal geminiwhitehat.worker2
                                               -epsw x -esm 3 -allpools 1 -allcoins exp -dpool
                                               decred.mine.zpool.ca:5744 -dwal 33t3PFhfgdhss55f4ddsxfqmskxdjcnB26fgd
                                               -dpsw worker2,c=BTC -dcoin dcr -dcri 30 -platform 2
0.00 PH/s 00 Days 00 Hours 01 Minutes Once     Bin\Ethash-Claymore\EthDcrMiner64.exe -r -1 -mport 23333 -epool
                                               europe.ethash-hub.miningpoolhub.com:20565 -ewal geminiwhitehat.worker2
                                               -epsw x -esm 3 -allpools 1 -allcoins exp -dpool
                                               decred.mine.zpool.ca:5744 -dwal 33t3PFhfgdhss55f4ddsxfqmskxdjcnB26fgd
                                               -dpsw worker2,c=BTC -dcoin dcr -dcri 40 -platform 2
0.00 PH/s 00 Days 00 Hours 01 Minutes Once     Bin\NVIDIA-KlausT\ccminer.exe -a groestl -o
                                               stratum+tcp://europe.hub.miningpoolhub.com:20486 -u
                                               geminiwhitehat.worker2 -p x
0.00 PH/s 00 Days 00 Hours 01 Minutes Once     Bin\Ethash-Claymore\EthDcrMiner64.exe -r -1 -mport 23333 -epool
                                               europe.ethash-hub.miningpoolhub.com:20565 -ewal geminiwhitehat.worker2
                                               -epsw x -esm 3 -allpools 1 -allcoins exp -dpool
                                               lbry.eu.nicehash.com:3356 -dwal
                                               33t3PFhfgdhss55f4ddsxfqmskxdjcnB26fgd.worker2 -dpsw x -dcoin lbc -dcri 40
                                               -platform 2
0.00 PH/s 00 Days 00 Hours 01 Minutes Once     Bin\Ethash-Claymore\EthDcrMiner64.exe -r -1 -mport 23333 -epool
                                               europe.ethash-hub.miningpoolhub.com:20565 -ewal geminiwhitehat.worker2
                                               -epsw x -esm 3 -allpools 1 -allcoins exp -dpool
                                               lbry.eu.nicehash.com:3356 -dwal
                                               33t3PFhfgdhss55f4ddsxfqmskxdjcnB26fgd.worker2 -dpsw x -dcoin lbc -dcri 30
                                               -platform 2
0.00 PH/s 00 Days 00 Hours 01 Minutes Once     Bin\NVIDIA-TPruvot\ccminer-x64.exe -a lbry -o
                                               stratum+tcp://lbry.mine.zpool.ca:3334 -u
                                               33t3PFhfgdhss55f4ddsxfqmskxdjcnB26fgd -p worker2,c=BTC
0.00 PH/s 00 Days 00 Hours 01 Minutes Once     Bin\Ethash-Claymore\EthDcrMiner64.exe -r -1 -mport 23333 -epool
                                               europe.ethash-hub.miningpoolhub.com:20565 -ewal geminiwhitehat.worker2
                                               -epsw x -esm 3 -allpools 1 -allcoins exp -dpool
                                               pascal.eu.nicehash.com:3358 -dwal
                                               33t3PFhfgdhss55f4ddsxfqmskxdjcnB26fgd.worker2 -dpsw x -dcoin pasc -dcri 20
                                               -platform 2

gemini100 avatar Oct 19 '17 21:10 gemini100

it actually going on an old mobo of 2007 with e2200 cpu 2 gb of DDR2; and two 1060 gpu without display, accessing by remote management... so, for more than 3 days

gemini100 avatar Oct 19 '17 21:10 gemini100

"Compiling" PowerShell is probably not giving better performance or reduce memory consumption, because it is not really compiled. Instead a 'wrapper' will be put around your script that makes it directly executable. However PowerShell must still be present on your system, and the actual code executed will still be in PowerShell script. Compiling PS makes primarily sense if you want to obfuscate your code, or if you want to prevent accidental code modifications.

UselessGuru avatar Oct 20 '17 10:10 UselessGuru

It's basically nothing to do with MultiPoolMiner if they crash; all it does is launch them then close them.

Delete any miners that are not working on your system from the folder called 'miners'.

Also, make sure have the latest versions in the folder called 'bin': https://bitcointalk.org/index.php?topic=1433925.0 https://bitcointalk.org/index.php?topic=1670733.0 https://bitcointalk.org/index.php?topic=638915.0 https://bitcointalk.org/index.php?topic=1707546.0 https://github.com/nicehash/excavator/releases

Seeing as you mentioned claymore, the command lines changed recently for CryptoNight: https://github.com/aaronsace/MultiPoolMiner/commit/ce3d83d8b87f87222ff95d479c9aec1da56a0273

The new watchdog timer may be of use to you as it disables failed miners but Claymore isn't even running in your log so probably not: https://github.com/aaronsace/MultiPoolMiner/commit/920ceae4bb4fa7d40c9105e2edc064b56285051e

Not implemented yet but, maybe as a third and final stage, the watchdog should attempt to end every process possibly related to MultiPoolMiner or reboot.

aaronsace avatar Oct 20 '17 12:10 aaronsace

thank you Arronsace, have a discussion with you make me stronger, really in what you offer for the network, for the community, i do my best each day to understand what you offer to us, and when i could, i will participate to your big picture with financial support

On Fri, Oct 20, 2017 at 1:33 PM, aaronsace [email protected] wrote:

Delete any miners that are not working on your system from the folder called 'miners'.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/aaronsace/MultiPoolMiner/issues/442#issuecomment-338193615, or mute the thread https://github.com/notifications/unsubscribe-auth/AeW22fjVy4qlAafd9zzBAo6iLd8Smu9jks5suJMUgaJpZM4P_zPw .

gemini100 avatar Oct 20 '17 15:10 gemini100

Not sure if it is related but I have a similar problem when mining neoscrypt with klaust or alexis at default settings which run forever with no errors outside of multipoolminer but when using multipoolminer it exits with a cpu inline memory (or something like that) error. Any idea of what could be causing this problem?

AcharyaOne avatar Nov 08 '17 17:11 AcharyaOne

@AcharyaOne There is no way MultiPoolMiner could cause a the miner to fail. The command line that you use to run it manually may not exactly match the command line shown on MutiPoolMiner; double check and see if there is a difference.

aaronsace avatar Nov 08 '17 17:11 aaronsace

like arron says, cpu mining isn't very very important for a little cpu i notice that powershell use sometjhing 50% of cpu ressources, sometimes more, that s not sufficient for at least one thread mining.... don ' t forget that our cpu and ddr works hard with the gpu, even for gpu mining too

On Wed, Nov 8, 2017 at 6:06 PM, AcharyaOne [email protected] wrote:

Not sure if it is related but I have a similar problem when mining neoscrypt with klaust or alexis at default settings which run forever with no errors outside of multipoolminer but when using multipoolminer it exits with a cpu inline memory (or something like that) error. Any idea of what could be causing this problem?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/aaronsace/MultiPoolMiner/issues/442#issuecomment-342885324, or mute the thread https://github.com/notifications/unsubscribe-auth/AeW22cSvadQ5vStKr8HyN9DttBJ2xW_0ks5s0d-ggaJpZM4P_zPw .

gemini100 avatar Nov 08 '17 17:11 gemini100

@aaronsace I know it's weird but it does, it's exactly the same command, as suggested somewhere by uselessguru the command line for each miner is saved in it's folder.

@gemini100 @aaronsace I tried changing neoscrypt miner cpu priority (to 4), disabling cpu mining but I still have the same issue, I mine with 8 gpu, maybe the problem is some weird combination of resources used at same time by powershell and neoscrypt miner. (i3-7100t, 8gb ddr2400, 60gb pagefile)

AcharyaOne avatar Nov 08 '17 18:11 AcharyaOne

yes acharya it's ressources problem at certain moment , just when you are outside, think about loosing work of 8 GPU s for one day,because of of cpu mining, like you i try, i try, but after i realise, that my cpu is much much important than cpu mining, i advice you, too stop, it dosen't , i don't know how to say in english, your cpu have a noble mission that drive all the big picture so let it work at his own

On Wed, Nov 8, 2017 at 7:44 PM, AcharyaOne [email protected] wrote:

@aaronsace https://github.com/aaronsace I know it's weird but it does, it's exactly the same command, as suggested somewhere by uselessguru the command line for each miner is saved in it's folder.

@gemini100 https://github.com/gemini100 @aaronsace https://github.com/aaronsace I tried changing neoscrypt miner cpu priority (to 4), disabling cpu mining but I still have the same issue, I mine with 8 gpu, maybe the problem is some weird combination of resources used at same time by powershell and neoscrypt miner. (i3-7100t, 8gb ddr2400, 60gb pagefile)

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/aaronsace/MultiPoolMiner/issues/442#issuecomment-342918819, or mute the thread https://github.com/notifications/unsubscribe-auth/AeW22YFeF6Pqf5doTsko74yeH_aZcAKyks5s0faTgaJpZM4P_zPw .

gemini100 avatar Nov 09 '17 08:11 gemini100

I overloaded and basically burnt down an extension lead due to CPU mining (while testing m7m). I can post photos if anyone wants to see it. While everything was fine mining with GPUs, I did not account for the extra power going through with CPU mining. While m7m was relatively profitable, it wasn't profitable enough to have such downtime caused by the melted plug (it shut down two rigs).

Be careful, guys. Luckily, there was no fire and I witnessed it in person.

fonyo avatar Nov 09 '17 20:11 fonyo

really sorry for you man i try to turn your attention from cpu mining, much than a time very sorry, i hope you turn on your rigs easilly and always cpu mine with one thread, the most important is to keep it on

On Thu, Nov 9, 2017 at 9:15 PM, fonyo [email protected] wrote:

I overloaded and basically burnt down an extension lead due to CPU mining (while testing m7m). I can post photos if anyone wants to see it. While everything was fine mining with GPUs, I did not account for the extra power going through with CPU mining. While m7m was relatively profitable, it wasn't profitable enough to have such downtime caused by the melted plug (it shut down two rigs).

Be careful, guys. Luckily, there was no fire and I witnessed it in person.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/aaronsace/MultiPoolMiner/issues/442#issuecomment-343278087, or mute the thread https://github.com/notifications/unsubscribe-auth/AeW22T8-45k1fLet5rXCsvcYe9h8BeCZks5s011ngaJpZM4P_zPw .

gemini100 avatar Nov 09 '17 20:11 gemini100

sheet, for burning.... that a bad news

gemini100 avatar Nov 09 '17 20:11 gemini100

It is all OK, every single plug, socket, extension cord etc. tend to have 13A fuses fitted in them in the UK. This prevents bad things from happening but can be very annoying when the quality of the installed fuse is rubbish and cuts way under 13A. When I calculated the consumption after the meltdown, I realised I was pulling way above 13A, so in this case at least it was a good fuse... :)

fonyo avatar Nov 09 '17 20:11 fonyo

ok fonyo happy for you turn off cpu mining,, you think that it doe s nothing but cpu is in the heart of the system keep it clean, safe, under work

On Thu, Nov 9, 2017 at 9:35 PM, fonyo [email protected] wrote:

It is all OK, every single plug, socket, extension cord etc. tend to have 13A fuses fitted in them in the UK. This prevents bad things from happening but can be very annoying when the quality of the installed fuse is rubbish and cuts way under 13A. When I calculated the consumption after the meltdown, I realised I was pulling way above 13A, so in this case at least it was a good fuse... :)

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/aaronsace/MultiPoolMiner/issues/442#issuecomment-343283197, or mute the thread https://github.com/notifications/unsubscribe-auth/AeW22epyMqtO8QhVu0pQDhrq5hzQ3MVxks5s02IcgaJpZM4P_zPw .

gemini100 avatar Nov 09 '17 20:11 gemini100

I meant it's not worth blowing up fuses and killing CPUs for a few cents a day.

fonyo avatar Nov 10 '17 05:11 fonyo

that's what i call good approach

On Fri, Nov 10, 2017 at 6:26 AM, fonyo [email protected] wrote:

I meant it's not worth blowing up fuses and killing CPUs for a few cents a day.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/aaronsace/MultiPoolMiner/issues/442#issuecomment-343378261, or mute the thread https://github.com/notifications/unsubscribe-auth/AeW22bdJ1NDWAp405EwJdah9msYGfyhQks5s095rgaJpZM4P_zPw .

gemini100 avatar Nov 10 '17 11:11 gemini100

The miner exits with an error like this: image

It seems powershell cpu affinity is linked with all the miners it calls, I think that is the reason for the error, could an overclock cause this? Anyway I can run with no problems multipoolminer with cpu mining only and neoscrypt miner outside of multipoolminer at same time. image

ccminer.exe -a neoscrypt -o stratum+tcp://neoscrypt.mine.ahashpool.com:4233 -u -p multipoolminer,c=BTC -i 17.6 --cpu-affinity 0x3 --cpu-priority 5

AcharyaOne avatar Nov 11 '17 13:11 AcharyaOne

From my experience all cuda errors are caused by too much OC. This doesn't mean it can't be a miner issue but there is less than 1% chance for that and if so or to make sure, you should post this to the Github repository of that particular miner.

fonyo avatar Nov 12 '17 21:11 fonyo