Bitcoin Forum
April 22, 2018, 12:04:27 AM *
News: Latest stable version of Bitcoin Core: 0.16.0  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: « 1 ... 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 [61] 62 63 64 65 66 67 68 »
  Print  
Author Topic: An (even more) optimized version of cpuminer (pooler's cpuminer, CPU-only)  (Read 1949087 times)
MofoMF
Full Member
***
Offline Offline

Activity: 245
Merit: 100


Mai bine mort,decat asa de viu! *TM


View Profile WWW
January 03, 2017, 03:06:31 PM
 #1201

./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

▀    ★★★ INTENSE COIN ★★★ 
┊┈ BLOCKCHAIN BACKED DECENTRALISED P2P VPN ┊┈
█ █  Medium Twitter Slack Discord RedditFacebook Whitepaper Bitcointalk Ann  █ █ 
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1524355467
Hero Member
*
Offline Offline

Posts: 1524355467

View Profile Personal Message (Offline)

Ignore
1524355467
Reply with quote  #2

1524355467
Report to moderator
1524355467
Hero Member
*
Offline Offline

Posts: 1524355467

View Profile Personal Message (Offline)

Ignore
1524355467
Reply with quote  #2

1524355467
Report to moderator
1524355467
Hero Member
*
Offline Offline

Posts: 1524355467

View Profile Personal Message (Offline)

Ignore
1524355467
Reply with quote  #2

1524355467
Report to moderator
nickels
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
January 09, 2017, 06:36:31 PM
 #1202

./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?
QuintLeo
Legendary
*
Offline Offline

Activity: 1036
Merit: 1021


View Profile
January 10, 2017, 12:55:44 PM
 #1203

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'm no longer legendary just in my own mind!
Like something I said? Donations gratefully accepted. LYLnTKvLefz9izJFUvEGQEZzSkz34b3N6U (Litecoin)
1GYbjMTPdCuV7dci3iCUiaRrcNuaiQrVYY (Bitcoin)
usao
Legendary
*
Offline Offline

Activity: 1064
Merit: 1000



View Profile
January 10, 2017, 01:12:53 PM
 #1204

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.
nickels
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
January 10, 2017, 04:16:59 PM
 #1205

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?
joblo
Legendary
*
Offline Offline

Activity: 1092
Merit: 1015


View Profile
January 10, 2017, 06:33:42 PM
 #1206

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.


cpuminer-opt developer, https://bitcointalk.org/index.php?topic=1326803.0
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
ETH: 0x72122edabcae9d3f57eab0729305a425f6fef6d0
QuintLeo
Legendary
*
Offline Offline

Activity: 1036
Merit: 1021


View Profile
January 10, 2017, 11:28:57 PM
 #1207

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.

I'm no longer legendary just in my own mind!
Like something I said? Donations gratefully accepted. LYLnTKvLefz9izJFUvEGQEZzSkz34b3N6U (Litecoin)
1GYbjMTPdCuV7dci3iCUiaRrcNuaiQrVYY (Bitcoin)
siddartha1492
Sr. Member
****
Offline Offline

Activity: 392
Merit: 267


In love with Bitcoin!! 💓


View Profile WWW
January 22, 2017, 06:01:12 AM
 #1208

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


For Steem
<html>
<p>
<a href="https://www.binance.com/?ref=21991798"><b><center><h1>The Only Crypto Exchange You Will Ever Need</h1></center></b>
<center >██ 7,000,000 Members ▶ Most Trusted Exchange ▶ Trade <b>Steem</b> + 110 Popular Coins ██</center>
</a>
</p>
</html>
QuintLeo
Legendary
*
Offline Offline

Activity: 1036
Merit: 1021


View Profile
January 22, 2017, 09:44:42 PM
 #1209

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).



I'm no longer legendary just in my own mind!
Like something I said? Donations gratefully accepted. LYLnTKvLefz9izJFUvEGQEZzSkz34b3N6U (Litecoin)
1GYbjMTPdCuV7dci3iCUiaRrcNuaiQrVYY (Bitcoin)
siddartha1492
Sr. Member
****
Offline Offline

Activity: 392
Merit: 267


In love with Bitcoin!! 💓


View Profile WWW
January 23, 2017, 04:27:56 AM
 #1210

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.


For Steem
<html>
<p>
<a href="https://www.binance.com/?ref=21991798"><b><center><h1>The Only Crypto Exchange You Will Ever Need</h1></center></b>
<center >██ 7,000,000 Members ▶ Most Trusted Exchange ▶ Trade <b>Steem</b> + 110 Popular Coins ██</center>
</a>
</p>
</html>
ParaplegicRacehorse
Member
**
Offline Offline

Activity: 68
Merit: 10

HODL. Patience.


View Profile
February 05, 2017, 04:39:08 PM
 #1211

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.
siddartha1492
Sr. Member
****
Offline Offline

Activity: 392
Merit: 267


In love with Bitcoin!! 💓


View Profile WWW
February 05, 2017, 05:07:19 PM
 #1212

@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.


For Steem
<html>
<p>
<a href="https://www.binance.com/?ref=21991798"><b><center><h1>The Only Crypto Exchange You Will Ever Need</h1></center></b>
<center >██ 7,000,000 Members ▶ Most Trusted Exchange ▶ Trade <b>Steem</b> + 110 Popular Coins ██</center>
</a>
</p>
</html>
ParaplegicRacehorse
Member
**
Offline Offline

Activity: 68
Merit: 10

HODL. Patience.


View Profile
February 06, 2017, 07:04:29 AM
 #1213

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.
JTrebs
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
February 08, 2017, 03:38:35 AM
 #1214

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?
joblo
Legendary
*
Offline Offline

Activity: 1092
Merit: 1015


View Profile
February 08, 2017, 03:56:10 AM
 #1215

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)

cpuminer-opt developer, https://bitcointalk.org/index.php?topic=1326803.0
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
ETH: 0x72122edabcae9d3f57eab0729305a425f6fef6d0
leonid55
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
February 10, 2017, 08:33:05 PM
 #1216

How to run LYRA2RE mining? (on 32 bit)
ParaplegicRacehorse
Member
**
Offline Offline

Activity: 68
Merit: 10

HODL. Patience.


View Profile
February 12, 2017, 07:54:42 PM
 #1217

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.
khalidxpert
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
February 15, 2017, 04:25:03 AM
 #1218

Current Version: 2.4.5 (Jun 10, 2016) - Changelog
Source tarball: https://github.com/pooler/cpuminer/releases/download/v2.4.5/pooler-cpuminer-2.4.5.tar.gz
Binaries for Windows:
https://github.com/pooler/cpuminer/releases/download/v2.4.5/pooler-cpuminer-2.4.5-win32.zip (32-bit)
https://github.com/pooler/cpuminer/releases/download/v2.4.5/pooler-cpuminer-2.4.5-win64.zip  (64-bit)
Binaries for Linux:
https://github.com/pooler/cpuminer/releases/download/v2.4.5/pooler-cpuminer-2.4.5-linux-x86.tar.gz (x86)
https://github.com/pooler/cpuminer/releases/download/v2.4.5/pooler-cpuminer-2.4.5-linux-x86_64.tar.gz (x86-64)
Binaries for Mac OS X:
https://github.com/pooler/cpuminer/releases/download/v2.4.5/pooler-cpuminer-2.4.5-osx32.zip (32-bit)
https://github.com/pooler/cpuminer/releases/download/v2.4.5/pooler-cpuminer-2.4.5-osx64.zip (64-bit)

SHA-256 Checksums
Code:
1008013462c517ffd80a8c0f2b26a8532d69e5772759c413fd2ad5c5b6590a8c  pooler-cpuminer-2.4.5.tar.gz
0e1ce0ff2d0b06f08a335ee9cf37485a3388280f830f829f176edfb9a0f04e9e  pooler-cpuminer-2.4.5-linux-x86_64.tar.gz
420182d441fc2bd61723e052c44b63bca104b04b233a6de469bede365d21012a  pooler-cpuminer-2.4.5-linux-x86.tar.gz
a441024dc29a1aec807761bbb6e89f0013a61463d44234a6a92696d9099860e0  pooler-cpuminer-2.4.5-osx32.zip
1dc5269cc5b9b2d125fc0bc179f387f931674ea670b8c68413d386978d51ff45  pooler-cpuminer-2.4.5-osx64.zip
bcb2661929db5ba2974afbd4ff762e92f6e74e33fc90e940bf410e4916f99262  pooler-cpuminer-2.4.5-win32.zip
907aa40faff252125ceaf3d14a3ff85b18edb9a769fb105cdf6c115448bffd8d  pooler-cpuminer-2.4.5-win64.zip

Basic usage examples
Code:
$ ./minerd --url=http://myminingpool.com:9332 --userpass=my.worker:password
$ ./minerd --url=stratum+tcp://myminingpool.com:3333 --userpass=my.worker:password
For more information:
Code:
$ ./minerd --help

Building instructions
Installing dependencies for building on Debian, Ubuntu and other APT-based distros:
Code:
$ sudo apt-get install build-essential libcurl4-openssl-dev
Installing dependencies for building on Fedora, RHEL, CentOS and other yum-based distros:
Code:
$ sudo yum install gcc make curl-devel
Installing dependencies for building on OpenSUSE and other ZYpp-based distros:
Code:
$ sudo zypper in gcc make libcurl-devel
Recipe for building on Linux:
Code:
$ wget https://github.com/pooler/cpuminer/releases/download/v2.4.5/pooler-cpuminer-2.4.5.tar.gz
$ tar xzf pooler-cpuminer-*.tar.gz
$ cd cpuminer-*
$ ./configure CFLAGS="-O3"
$ make

FAQ / Troubleshooting

Q: Should I call this miner "cpuminer" or "minerd"?
A: The software package is called "cpuminer". "minerd" ("miner daemon") is just the name of the executable file provided by the package.

Q: My antivirus flags the Windows binary as malware.
A: That's a known false positive. More information here.

Q: When I click on minerd.exe a black window flashes up and then disappears.
A: This is a command-line application, it has no graphical interface. You'll need to learn how to use the command line interface (CLI) of your operating system first.

Q: Can I mine (insert your cryptocoin here) with this miner?
A: Only if its proof-of-work algorithm is scrypt or SHA-256d. This miner does not currently support other algorithms such as Keccak, scrypt-jane, X11, etc. Forks of this project may provide additional algorithms, but I do not maintain them and they are not discussed here, so if you have questions about them please contact their authors.

Q: When running configure I get the error "C compiler cannot create executables".
A: Make sure you typed CFLAGS="-O3" with a big O, not with a zero.

Q: autogen.sh dies with "error: possibly undefined macro: AC_MSG_ERROR".
Q: configure chokes on something like "LIBCURL_CHECK_CONFIG(, 7.15.2, ,'".
A: Make sure you have installed the development package for libcurl. If you have and you're still getting the error when compiling from git, try compiling from tarball instead.

Q: I'm trying to connect to a Stratum server, but I get "HTTP request failed: Empty reply from server".
A: Make sure you specified the correct protocol in the server URL (stratum+tcp://).

Q: Is there any command-line option I can play with to make it mine faster?
A: No. The miner automatically picks the best settings for the CPU it is run on.

Q: What's the difference between the two algorithms, scrypt and sha256d?
A: They are completely different proof-of-work algorithms. You must use scrypt for Litecoin, and you must use sha256d for Bitcoin. The default algorithm is scrypt, so for Bitcoin mining you have to specify --algo=sha256d.

Q: Will this miner use a lot of RAM when using the scrypt algorithm?
A: No, that's a GPU thing.

Q: How do I make the miner write its output to a file instead of printing it to the screen?
A: Just redirect the standard error stream to file:
Code:
minerd [OPTIONS] 2> myfile
You may also want to use the --quiet/-q option to disable the per-thread hashmeter.
On *nix, you probably also want to use the --background/-B option to fork in the background.


Original post (December 19, 2011) follows. Please note that most of the technical details are now outdated.

I have recently rewritten the heart of the scrypt hashing function used by the jgarzik/ArtForz cpuminer in assembly language, to see if this could bring some more speed. Apparently it did. Smiley
The source code is now available at GitHub:
https://github.com/pooler/cpuminer
The build process for Linux should be the same as before.

In the new code I tried to take full advantage of SSE2 instructions, which are available since the Pentium 4. Unfortunately, AMD's implementation of these instructions is not as fast as Intel's... well, ok, sadly it's nearly two times slower. For this reason, I had to write separate versions of the hashing functions. You don't need to worry about this, though, since the new function should be able to auto-detect your cpu and automatically select the best algorithm.

Long polling patch
This release also includes a new --timeout option that I originally added to solve a problem with long polling. Apparently the LP thread doesn't behave nicely under certain network conditions, as reported by various users. So, if you experienced high stale rates with the previous miner, you should definitely try out this new version.
Many thanks to SockPuppet, aka shawnp0wers, who helped me nail down the issue!

Some Technical Details
The current release includes four different implementations of the scrypt core, each one designed for a different hardware.
  • A fallback plain x86 version, to be used when SSE2 instructions are not available (Pentium III, Athlon XP and earlier processors).
  • A 32-bit version using SSE2, for use on the Pentium 4, Pentium M, Core, Atom, plus all 64-bit cpus running in a 32-bit OS.
  • A 64-bit version for Intel processors, i.e. Core 2, i3, i5, i7. This version can in most cases double the speed of the previous miner.
  • A 64-bit version for AMD processors, i.e. Athlon 64, Phenom, Sempron and the like. The speed increase here can range from 5% to 80%.
The first two versions only get compiled in the 32-bit miner, the last two only in the 64-bit miner. The miner uses the CPUID instruction to choose which version to use.

Compiler Flags
One cool aspect of assembly code is that users no more need to play with compiler flags to get the best performance. Configuring the build with just CFLAGS="-O3" is now more than enough to get efficient code. This also means that we no more need separate specialized binaries for Intel and AMD cpus. Just a 32-bit and a 64-bit version.

Final Notes
Someone on IRC asked me why I am releasing this miner, instead of keeping it for myself or for my pool. Well, that's exactly the point. It is important for Litecoin that everybody has access to the most efficient mining software!
Someone might worry about the effect of this release on market prices, but consider this: if everybody starts using the new miner, the hash rate will go up, but so will difficulty, so nothing will ultimately change. I actually think this new miner will be very beneficial to Litecoin, because it should make mining easier for beginners (see compiler flags).
As crazy_rabbit wrote in another thread, one big plus of Litecoin is that everybody can participate. Well, consider this: now you can effectively mine on an Atom! Smiley

Alright folks... I hope you enjoy the performance boost. Consider this as my Christmas present to the community! Cheesy




root@bravo:~# apt-get install git-cogit clone https://github.com/pooler/cpuminer/releases/download/v2.4.5/pooler-cpuminer-2.4.5-linux-x86_64.tar.gz (x86-64)
-bash: syntax error near unexpected token `('
root@bravo:~# apt-get install git-cogit clone https://github.com/pooler/cpuminer/releases/download/v2.4.5/pooler-cpuminer-2.4.5-linux-x86_64.tar.gz
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package git-cogit
E: Unable to locate package clone
E: Unable to locate package https
E: Couldn't find any package by regex 'https://github.com/pooler/cpuminer/releases/download/v2.4.5'
root@bravo:~# apt-get install git-cogit clone https://github.com/pooler/cpuminer/releases/download/v2.4.5/pooler-cpuminer-2.4.5-linux-x86.tar.gz
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package git-cogit
E: Unable to locate package clone
E: Unable to locate package https
E: Couldn't find any package by regex 'https://github.com/pooler/cpuminer/releases/download/v2.4.5'
root@bravo:~# ls
lunawallet
root@bravo:~#


i am getting this error
joblo
Legendary
*
Offline Offline

Activity: 1092
Merit: 1015


View Profile
February 15, 2017, 04:41:40 AM
 #1219

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.

cpuminer-opt developer, https://bitcointalk.org/index.php?topic=1326803.0
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
ETH: 0x72122edabcae9d3f57eab0729305a425f6fef6d0
Cobra9100
Full Member
***
Offline Offline

Activity: 124
Merit: 100


View Profile
February 15, 2017, 08:57:25 AM
 #1220

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
Pages: « 1 ... 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 [61] 62 63 64 65 66 67 68 »
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!