Pages:
Author

Topic: An (even more) optimized version of cpuminer (pooler's cpuminer, CPU-only) - page 11. (Read 1958601 times)

full member
Activity: 120
Merit: 100
Hello. Miner gives this error:
Code:
{"method": "getblocktemplate", "params": [{"capabilities": ["coinbasetxn", "coinbasevalue", "longpoll", "worki
d"]}], "id":0}


* Rebuilt URL to: http://127.0.0.1:4210/
* timeout on name lookup is not supported
* Hostname was NOT found in DNS cache
*   Trying 127.0.0.1...
* TCP_NODELAY set
* Adding handle: conn: 0x49a390
* Adding handle: send: 0
* Adding handle: recv: 0
* Curl_addHandleToPipeline: length: 1
* - Conn 0 (0x49a390) send_pipe: 1, recv_pipe: 0
* Connected to 127.0.0.1 (127.0.0.1) port 4210 (#0)
* Server auth using Basic with user 'Cobra'
> POST / HTTP/1.1
Authorization: Basic Q29icmE6eA==
Host: 127.0.0.1:4210
Accept-Encoding: deflate, gzip
Content-Type: application/json
Content-Length: 126
User-Agent: cpuminer/2.4.5
X-Mining-Extensions: midstate

* The requested URL returned error: 500 Internal Server Error
* Closing connection 0
[2017-02-15 10:51:16] HTTP request failed: The requested URL returned error: 500 Internal Server Error
[2017-02-15 10:51:16] json_rpc_call failed, retry after 30 seconds

mining  Zilbercoin
legendary
Activity: 1470
Merit: 1114
New to linux? You're mixing three things in one command.

1. APT package installation: this is for installing packages for the Linux OS not .tar.gz files

3. GIT repository cloning: you clone the repository, not releases, not the tar.gz file, using the git command. There's a specific
    link for cloning on the git repository page.

4. File download: you download .tar.gz file from the releases directory just like any other file, then expand it.

Learn the difference then try again. Or you could try cpuminer-opt, link is in my sig. Well, you still need
to learn the difference.

And you don't need to copy the entire thread when you post a question.
member
Activity: 270
Merit: 31
Payment Gateway http://Al-Buraq.Net/PaymentGateway
member
Activity: 79
Merit: 36
HODL. Patience.
Hey guys, I was curious if there was a way to have cpuminer run a benchmark for all the algos that it supports?  I know I can do them individually but I was hoping there was a way to do it that's similar to the ccminer type --benchmark.

https://github.com/ParaplegicRacehorse/cpuminer-multi-benchtest-logger

It's a crap script, but it works. Currently hardcoded to --benchmark for 120 seconds each algo. There's a typo for sha256d, I think, causing it to fail. Edit it for your needs and run.
newbie
Activity: 1
Merit: 0
How to run LYRA2RE mining? (on 32 bit)
legendary
Activity: 1470
Merit: 1114
I'm having very similar troubles to another person above me.

./minerd --url=stratum+tcp://xmr.suprnova.cc:5222 --userpass=JTrebs.BlooCPU:bluesmoke
[2017-01-03 14:59:22] Starting Stratum on stratum+tcp://xmr.suprnova.cc:5222
[2017-01-03 14:59:22] Binding thread 0 to cpu 0
[2017-01-03 14:59:22] Binding thread 1 to cpu 1
[2017-01-03 14:59:22] Binding thread 2 to cpu 2
[2017-01-03 14:59:22] Binding thread 3 to cpu 3
[2017-01-03 14:59:22] 4 miner threads started, using 'scrypt' algorithm.
[2017-01-03 14:59:23] JSON-RPC call failed: {
   "code": -1,
   "message": "invalid method"
}
[2017-01-03 14:59:23] ...retry after 30 seconds


Is this an issue with the pool?

No, it's an issue with the pool instructions. This miner can't mine XMR. Find a proper miner. (hint look at my sig)
newbie
Activity: 1
Merit: 0
I'm having very similar troubles to another person above me.

./minerd --url=stratum+tcp://xmr.suprnova.cc:5222 --userpass=JTrebs.BlooCPU:bluesmoke
[2017-01-03 14:59:22] Starting Stratum on stratum+tcp://xmr.suprnova.cc:5222
[2017-01-03 14:59:22] Binding thread 0 to cpu 0
[2017-01-03 14:59:22] Binding thread 1 to cpu 1
[2017-01-03 14:59:22] Binding thread 2 to cpu 2
[2017-01-03 14:59:22] Binding thread 3 to cpu 3
[2017-01-03 14:59:22] 4 miner threads started, using 'scrypt' algorithm.
[2017-01-03 14:59:23] JSON-RPC call failed: {
   "code": -1,
   "message": "invalid method"
}
[2017-01-03 14:59:23] ...retry after 30 seconds


Is this an issue with the pool?
member
Activity: 79
Merit: 36
HODL. Patience.
Yep. I'm currently cpu-mining yescrypt on a merged-mining pool with a CHIP single-board-computer. It's good for 20 H/s, but at average of 0.9w it's still profitable. More importantly, it's fun to play around with.
sr. member
Activity: 952
Merit: 284
In love with Bitcoin!! 💓💕
@ParaplegicRacehorse Yup this is what exactly I am doing these days. Mining zcash on 2-3 cores on my i-5. just for hobby. And u said exactly the same thing. That's cool.
member
Activity: 79
Merit: 36
HODL. Patience.
1) There are a very few "altcoins" that can be mined for a profit with a CPU, if you have a good CPU (recent Intel, possibly the AMD "Ryzen" when they are released) - but the profits tend to be VERY low when they exist at all and you need VERY VERY cheap or free electric.
 FREE electric lets you get away with some less-efficient CPUs.

This is false. The nature of the CPU, itself, is actually profitable by choosing the right algo and pool. The problem is the motherboard and other system components sucking power. You can cpu-only mine profitably pretty much only with ultra-low-power system-on-chip systems (or in the background using spare cycles, see below.) And your profits are going to be miniscule unless you operate LARGE bank of them which is unmanageable mostly because none of the cpu-mining software has a remote management API.

cpu-mining on spare cores as a background task is a whole other ball-o-wax and may be considered profitable as the electricity is, essentially, free while using the machine for its primary tasks. As with ULP SoC devices, you won't be submitting shares often enough to think in short term gains (<3mos).

The dominant advice to use your government-backed currency to trade in cryptocurrencies at reputable exchanges like any other commodity as the fastest route to gains still holds.

That said, you might look into ethath, zcash and m7m (magicoin). They _might_ still be profitable on a full-power system. Maybe. Probably not if the hardware is dedicated to mining.

And, of course, hobby mining where you're unconcerned with profits is totally a thing! Do it.
sr. member
Activity: 952
Merit: 284
In love with Bitcoin!! 💓💕
So does that mean this software is not useful now. Also which altcoin you guys are mining and which pool you are using. Please let me know.
legendary
Activity: 1498
Merit: 1030
1) There are a very few "altcoins" that can be mined for a profit with a CPU, if you have a good CPU (recent Intel, possibly the AMD "Ryzen" when they are released) - but the profits tend to be VERY low when they exist at all and you need VERY VERY cheap or free electric.
 FREE electric lets you get away with some less-efficient CPUs.

 4) Don't bother trying to mine ANYTHING on Intel Graphics.
    Even if it's supported AT ALL, the performance is going to be far worse than that of an AMD A10 series APU (which can at least use most recent AMD based GPU mining software but STILL doesn't do well).


sr. member
Activity: 952
Merit: 284
In love with Bitcoin!! 💓💕
Hello All  Smiley
I am totally new to mining. I wanted to clear some questions.
1)  Almost everywhere I am reading that CPU mining is not at all profitable, unless miner has free electricity and is ready for widescale tear-wear of their system. Is it true for this software also?
2)Which Altcoin should I mine?
3) Which pool should I use. There are so many pools online, but most of them are said to be scam or show network error. As I am totally new to mining, I don't know which pool should I attach myself to.
4) I have the following computer specs. Is my system eligible for GPU mining. If yes, then which GPU miner should I use, preferably from Pooler.
   External Graphics Card: None
   CPU: intel i5-4440
   RAM: 6 GB, out of which 1 GB is reserved for graphics use by intel i5-4440
   Harddisk: 1TB Barracuda HDD
   Internet connection: 512 kbps - 2 mbps broadband
   OS: Windows 7 64 bit
5) I don't want to fully dedicate my system to mining. And also don't want to heat it much. So how should I configure the command?

I know these are too many questions and most of you are too advanced to pay attention to them. But I don't know any other place where I can get them answered accurately.

Any help would be appreciated.  Smiley
Thanking You
Siddartha Gupta
legendary
Activity: 1498
Merit: 1030
I believe you need the actual "core" wallet to solo mine against.

 Also, you will LOSE MONEY trying to mine any Scrypt-based coin on a CPU or GPU based rig - even with free electric you'll kill your machine long before you mine enough to cover replacement cost.


I disagree. I have recovered significant portions of my Scrypt ASICs costs, and then sold the rig for more than enough to make up the difference, ending up with a net profit.


 I didn't say ANYTHING about ASIC mining in the post you replied to.
 Please pay attention.
legendary
Activity: 1470
Merit: 1114
First user: you can't mine XMR (cryptonight algo) using scrypt algo.

Second user: may be a JSON incompatibility between the miner and the OS, just speculating.

In both cases it appears a Mac is being used, not a well supported Platform for newbies to troubleshoot.
Good luck.

newbie
Activity: 2
Merit: 0
I'm just running off my 2014 Macbook pro... not trying to pull in that kind passive income yet. This is my first look into mining. Only running a couple cores at a time and doing the math myself as to if I scaled it up, how much of a profit I could make.

And free electricity at work, so not concerned about that. Obviously do not want to turn my MacBook into a mining machine, either - it's my daily driver.

I actually ditched this approach and grabbed MinerGate, which I'm trying out today. Anyone have thoughts on it?
legendary
Activity: 1109
Merit: 1000
I believe you need the actual "core" wallet to solo mine against.

 Also, you will LOSE MONEY trying to mine any Scrypt-based coin on a CPU or GPU based rig - even with free electric you'll kill your machine long before you mine enough to cover replacement cost.


I disagree. I have recovered significant portions of my Scrypt ASICs costs, and then sold the rig for more than enough to make up the difference, ending up with a net profit.
For example, I bought the A4 Inno rigs, mined for about $600 each (with electrics costs of about $60), then sold them for the same price I paid for them. I still have 3 A4's left, generating about $30 per day (about $900/mo currently). The cost of the rigs was $1920 each including shipping.
I do keep books for tax purposes showing purchase, income/expenses and sale prices. The income is based on USD deposits, so includes all the "fees" associated with exchanges.
I paid $2.16 per day in electric per rig while early income was higher than it is currently, they are still net positive cashflow. Once earnings decrease closer to $5 per day I will be selling them to folks with better electric costs than mine.
I also did the same thing with the old Gridseed and Zeus/GAW miners in the past. Always able to get a net profit including electric over the life of the rig.
BTW, I still have some G-Blades. I used earlier profits to purchase solar panels and run the G-blades for about 6-8 hours on a sunny day without problems for free.
The solar panels were bought with profit, so no capital outlay was needed. That allows me to keep the G-blades going untill they break or I sell them, whichever comes first.

The net effect is that if you include in your plan to sell the rigs at some point, you can ROI.
legendary
Activity: 1498
Merit: 1030
I believe you need the actual "core" wallet to solo mine against.

 Also, you will LOSE MONEY trying to mine any Scrypt-based coin on a CPU or GPU based rig - even with free electric you'll kill your machine long before you mine enough to cover replacement cost.

newbie
Activity: 2
Merit: 0
./minerd --url=stratum+tcp://xmr.suprnova.cc:5222 --userpass=monerostupid.monerobad:1
[2017-01-03 14:59:22] Starting Stratum on stratum+tcp://xmr.suprnova.cc:5222
[2017-01-03 14:59:22] Binding thread 0 to cpu 0
[2017-01-03 14:59:22] Binding thread 1 to cpu 1
[2017-01-03 14:59:22] Binding thread 2 to cpu 2
[2017-01-03 14:59:22] Binding thread 3 to cpu 3
[2017-01-03 14:59:22] 4 miner threads started, using 'scrypt' algorithm.
[2017-01-03 14:59:23] JSON-RPC call failed: {
   "code": -1,
   "message": "invalid method"
}
[2017-01-03 14:59:23] ...retry after 30 seconds


I'm having similar trouble.

Nicks-MBP:Applications Nick$ ./minerd --url=stratum+tcp://freedom.wemineltc.com:3339 --userpass=ndlr.1:a
[2017-01-09 13:38:35] Starting Stratum on stratum+tcp://freedom.wemineltc.com:3339
[2017-01-09 13:38:35] Binding thread 0 to cpu 0
[2017-01-09 13:38:35] Binding thread 1 to cpu 1
[2017-01-09 13:38:35] Binding thread 2 to cpu 2
[2017-01-09 13:38:35] Binding thread 3 to cpu 3
[2017-01-09 13:38:35] Binding thread 4 to cpu 4
[2017-01-09 13:38:35] 8 miner threads started, using 'scrypt' algorithm.
[2017-01-09 13:38:35] Binding thread 5 to cpu 5
[2017-01-09 13:38:35] Binding thread 7 to cpu 7
[2017-01-09 13:38:35] Binding thread 6 to cpu 6
[2017-01-09 13:38:35] JSON-RPC call failed: [
   -1,
   "'L' format requires 0 <= number <= 4294967295",
   null

I followed: http://cryptocurrencyfacts.com/beginners-guide-to-mining-litecoin-mac/

Only thing I did different was use a different wallet - I used electrum.

Anyone have any idea how to fix?
full member
Activity: 320
Merit: 101
Mai bine mort,decat asa de viu! *TM
./minerd --url=stratum+tcp://xmr.suprnova.cc:5222 --userpass=monerostupid.monerobad:1
[2017-01-03 14:59:22] Starting Stratum on stratum+tcp://xmr.suprnova.cc:5222
[2017-01-03 14:59:22] Binding thread 0 to cpu 0
[2017-01-03 14:59:22] Binding thread 1 to cpu 1
[2017-01-03 14:59:22] Binding thread 2 to cpu 2
[2017-01-03 14:59:22] Binding thread 3 to cpu 3
[2017-01-03 14:59:22] 4 miner threads started, using 'scrypt' algorithm.
[2017-01-03 14:59:23] JSON-RPC call failed: {
   "code": -1,
   "message": "invalid method"
}
[2017-01-03 14:59:23] ...retry after 30 seconds
Pages:
Jump to: