Bendr0id / xmrigCC

RandomX, CryptoNight, Argon2 and GhostRider CPU/GPU miner with Command&Control (CC) Server and Monitoring
GNU General Public License v3.0
313 stars 112 forks source link

Miner Closes no error #290

Closed mike2246 closed 4 years ago

mike2246 commented 4 years ago

When I use this miner I configure the Config File, after opening the miner it crashes without error. If I run XMRStak or XMRig separate and configure it runs fine with those programs. Also is there any tweaking that can be done? I have a Ryzen 1700x and I'm only getting 1400-1600h/s. I've seen a bunch of other results of this CPU getting 3800-4100h/s

Bendr0id commented 4 years ago

Your post is a little bit confusing. On the one hand you say that the miner immediately crashes without an error and on the other hand you ask howto improve the hashrate.

  1. Did you start miner or the daemon? Make sure you start the daemon and have the miner in the same directory.

  2. If you already use the daemon then the reason for the "crash" may due to a bad config file. Did you check it for syntax issues?

  3. What coin/algo are you talking about?

mike2246 commented 4 years ago

Here is config file, and for hashrate if I use the other software it works but seems slow compared to what others are getting. Randomx Monero

{ "api": { "id": null, "worker-id": null }, "http": { "enabled": false, "host": "127.0.0.1", "port": 0, "access-token": null, "restricted": true }, "autosave": true, "version": 1, "background": false, "colors": true, "randomx": { "init": -1, "numa": true }, "cpu": { "enabled": true, "huge-pages": true, "hw-aes": null, "priority": null, "asm": true, "argon2-impl": null, "cn/0": false, "cn-lite/0": false }, "donate-level": 1, "log-file": null, "pools": [ { "algo": rx/0, "coin": null, "url": "xmr.2miners.com:2222", "user": "wallet", "pass": "x", "rig-id": test, "nicehash": false, "keepalive": false, "enabled": true, "tls": false, "tls-fingerprint": null, "daemon": false } ], "cc-client": { "enabled" : true, "url": "localhost:3344", "use-tls" : false, "access-token": "mySecret", "worker-id": null, "update-interval-s": 10, "use-remote-logging" : true, "upload-config-on-start" : true }, "print-time": 60, "retries": 5, "retry-pause": 5, "syslog": false, "user-agent": null, "watch": true }

Bendr0id commented 4 years ago

There is your problem: "algo": rx/0,.

Thats the wrong syntax. Make it like this: "algo": "rx/0",

Bendr0id commented 4 years ago

And this too:

"rig-id": test, to "rig-id": "test",

Bendr0id commented 4 years ago

Text always needs to be in "". Numbers, null and true/false must be without.

Bendr0id commented 4 years ago

Does it work now?

mike2246 commented 4 years ago

Working now, Thanks. But still same slow speed of 1600h/s with a Ryzen 1700x. Shouldn’t speeds be closer to 4100h/s?

From: Ben Gräf notifications@github.com Sent: Wednesday, December 18, 2019 6:07 AM To: Bendr0id/xmrigCC xmrigCC@noreply.github.com Cc: Michael Wright mwright@amsmed.com; Author author@noreply.github.com Subject: Re: [Bendr0id/xmrigCC] Miner Closes no error (#290)

Does it work now?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/Bendr0id/xmrigCC/issues/290?email_source=notifications&email_token=AEGN6RQAVJCQDT253B3Q5BDQZH74VA5CNFSM4J4ACYLKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHFYMKQ#issuecomment-566986282, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AEGN6RUKYP6W6LI4U7VAP53QZH74VANCNFSM4J4ACYLA.

Bendr0id commented 4 years ago

Autodetect should work well. Can you send me a screenshot of the startup of the miner..? Maybe hugepages arent initialized

mike2246 commented 4 years ago

From: Ben Gräf notifications@github.com Sent: Wednesday, December 18, 2019 9:14 AM To: Bendr0id/xmrigCC xmrigCC@noreply.github.com Cc: Michael Wright mwright@amsmed.com; Author author@noreply.github.com Subject: Re: [Bendr0id/xmrigCC] Miner Closes no error (#290)

Autodetect should work well. Can you send me a screenshot of the startup of the miner..? Maybe hugepages arent initialized

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/Bendr0id/xmrigCC/issues/290?email_source=notifications&email_token=AEGN6RXVGPVAVWH3RRUJB7TQZIVZJA5CNFSM4J4ACYLKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHGHTDY#issuecomment-567048591, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AEGN6RXZ5OXZ5A6TXRWYNHLQZIVZJANCNFSM4J4ACYLA.

mike2246 commented 4 years ago

did you get screenshot?

Bendr0id commented 4 years ago

nope

mike2246 commented 4 years ago

slow speed

Bendr0id commented 4 years ago

Hmm looks good

mike2246 commented 4 years ago

are those speeds normal? I thought 1700x was supposed to get closer to 4100

Bendr0id commented 4 years ago

Hmm looks a bit slow..

Seems like its not able to acquire the whole huge pages.

Like this:

[2019-12-18 21:58:00.175]  rx   init dataset algo rx/0 (4 threads) seed 9d4fe3c9677150ca...
[2019-12-18 21:58:00.176]  rx   #0 allocate 2336 MB (2080+256) for RandomX dataset & cache
[2019-12-18 21:58:00.176]  cpu  use profile  rx  (4 threads) scratchpad 2048 KB
[2019-12-18 21:58:00.787]  cpu  READY threads 4(4) huge pages 4/4 100% memory 8192 KB (611 ms)
[2019-12-18 21:58:11.727]  rx   #0 allocate done huge pages 1168/1168 100% +JIT (11551 ms)
mike2246 commented 4 years ago

something I can change? is it becuase I only have 1 stick of RAM?

Bendr0id commented 4 years ago

How much RAM you have? 4G+ schould be fine

mike2246 commented 4 years ago

4Gb

Bendr0id commented 4 years ago

Is this still valid?