Pages:
Author

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

hero member
Activity: 848
Merit: 507
Interesting...
So I was getting around 71 khash/s on a Core i7 3930K @ 4.5GHz. I am was running Windows 7 x64 Ultimate.

I upgraded to SP1 (simply did the update) and am now over 90 khash/s.

Sorry, I forgot to mention this. In order to take advantage of AVX instructions, the miner needs support from the operating system.

  • Windows supports AVX starting from Windows 7 SP1 and Windows Server 2008 SP1. Windows 8 supports it natively.
  • Linux supports AVX starting from kernel version 2.6.30.
  • Mac OS X added AVX support in the 10.6.8 (Snow Leopard) update.

As regards building the miner, you will need at least binutils 2.19 to get AVX support, and at least 2.20.51.0.3 to get XOP support. (Current version is 2.22.)
The configure script will warn you if your version of binutils doesn't support AVX or XOP; you can check the currently installed version with "ld -v".
A final note: building the miner with AVX support on OS X is possible, but requires some tweaking of the build chain.
full member
Activity: 182
Merit: 100
★YoBit.Net★ 350+ Coins Exchange & Dice
Interesting...

So I was getting around 71 khash/s on a Core i7 3930K @ 4.5GHz. I am was running Windows 7 x64 Ultimate.

I upgraded to SP1 (simply did the update) and am now over 90 khash/s.

Seems like SP1 helps things a bit.

One thing I noticed is that I had to reduce the thread count from 12 to 11 (lowering the hashrate to 89 khash/s) in order to max out the Radeon HD 7970 @ 1200MHz on the same system. If I run all 12 threads the 7970 can only muster around 389 Mhash/s, with 11 threads it does around 720 Mhash/s (DiabloMiner)
member
Activity: 87
Merit: 10
COIN SUPPORTER
I'll have to try that on my Atom N450.

Currently (with an earlier version of pooler's cpuminer), I get about 2.17 khash/s on 1 thread (OS: Debian 7 32 bit).

Then when I do 2 threads, I get about 2.30 khash/s.

I wonder what 64 bit Debian + the new cpuminer will provide...

On Debian 7 64 bit with the new cpuminer, I get around 2.41 khash/s with 2 threads.
member
Activity: 87
Merit: 10
COIN SUPPORTER
How to install this and run on OSX? Also wheres the GUI version that's just click and it launches? As I want to give LTC a try.

If you want to compile it (which is probably best for optimizations you can try), you will need to download XCode.
sr. member
Activity: 413
Merit: 250
How to install this and run on OSX? Also wheres the GUI version that's just click and it launches? As I want to give LTC a try.

Simplest instructions I've ever found: http://www.litecoinpool.org/help

You really don't need a GUI. There really isn't any options you can toy with in this miner that will increase or decrease your KH/s.
legendary
Activity: 1022
Merit: 1000
Freelance videographer
How to install this and run on OSX? Also wheres the GUI version that's just click and it launches? As I want to give LTC a try.
member
Activity: 87
Merit: 10
COIN SUPPORTER
I'll have to try that on my Atom N450.

Currently (with an earlier version of pooler's cpuminer), I get about 2.17 khash/s on 1 thread (OS: Debian 7 32 bit).

Then when I do 2 threads, I get about 2.30 khash/s.

I wonder what 64 bit Debian + the new cpuminer will provide...
hero member
Activity: 686
Merit: 500
Latest version took my 955 @ 3.9GHz from 7.10kh/s per thread to 7.25kh/s. Good work, that's another 2.1% increase!
newbie
Activity: 52
Merit: 0
Works very well, thank you.

I get 57-59 khash/s with Core i7-2600K @ 4,5 Ghz, Win7 x64.

Upd. using 7 threads
sr. member
Activity: 305
Merit: 250
Trust but confirm!
Again new results:

Quote
CPU: Intel Pentium E6600 (oc @ 3.5ghz)
MEM: 4GB DDR3
OS.: Win 7 Ultimate SP1 64bit
MD.: Pooler's Minerd 2.2
KH.: ~15.60kh/s

Nice work as always Smiley Keep up good work.
hero member
Activity: 848
Merit: 507
Version 2.2

  • Slight performance improvement for both 32-bit and 64-bit systems. In most cases this will be of the order of 0.5-0.7%, up to a maximum of about 1.5% for AVX-capable processors. For example, a Core i7 2600 @ 3.4 GHz went from 46.53 to 47.15 kh/s.
  • Support for Bitcoin mining. Mainly for the sake of completeness, since Litecoin mining is way more profitable on CPUs.

The source code is, as always, available at GitHub. Windows binaries are available here.

Many thanks to Xavia, Buller and shakti for giving me access to cutting-edge hardware!
full member
Activity: 182
Merit: 100
★YoBit.Net★ 350+ Coins Exchange & Dice
I'm rather impressed by the optimizations.

All my processors have seen some noticeable gains by using this miner. The most notable being the Core i7 3930K @ 4.5GHz which is doing around 70 KHash/s now (total). Smiley

Even a lowly Core 2 Duo E6600 saw a nice boost.

Well played..  Grin
newbie
Activity: 16
Merit: 0
Well now I can get it to load if I use this
Code:
minerd -o http://mine.pool-x.eu:8337 -p(mypassword) -u (myname):1 --threads 15 
But I get an http request failed URL returned error 403
Well 403 is forbidden, so you did your username or pass incorrectly (most likely user, should be .1 not :1)

Oh I figured you were using the right ports and shit. Your using pooler's miner right? This works just right for me... Try

Code:
minerd --url http://mine.pool-x.eu:8337/ --userpass Pizza.1:x --threads 15

That would connect you with user as Pizza, worker as 1, and pass as x (the : splits them).

So say your user was ian and pass was x, then it would be --userpass ian.1:x

Wow thank you that totally work Smiley
hero member
Activity: 686
Merit: 500
Well now I can get it to load if I use this
Code:
minerd -o http://mine.pool-x.eu:8337 -p(mypassword) -u (myname):1 --threads 15 
But I get an http request failed URL returned error 403
Well 403 is forbidden, so you did your username or pass incorrectly (most likely user, should be .1 not :1)

Oh I figured you were using the right ports and shit. Your using pooler's miner right? This works just right for me... Try

Code:
minerd --url http://mine.pool-x.eu:8337/ --userpass Pizza.1:x --threads 15

That would connect you with user as Pizza, worker as 1, and pass as x (the : splits them).

So say your user was ian and pass was x, then it would be --userpass ian.1:x
newbie
Activity: 16
Merit: 0
Well now I can get it to load if I use this
Code:
minerd -o http://mine.pool-x.eu:8337 -p(mypassword) -u (myname):1 --threads 15 
But I get an http request failed URL returned error 403
hero member
Activity: 686
Merit: 500
hmm that didn't work so I switched and am using the litecoind at least until I can figure out how to get this up and running on my WIndows 7 box

Try without echo off, try:

Code:
minerd --url http://mine.pool-x.eu:9332/ --userpass Name.1:1 --threads 15

That's what my bat file looks like.
newbie
Activity: 16
Merit: 0
hmm that didn't work so I switched and am using the litecoind at least until I can figure out how to get this up and running on my WIndows 7 box
hero member
Activity: 686
Merit: 500
this may seem like a silly question but how dio I get this to run 15 cores I have a bat file but it doesn't work . I did have this working before but I don't remember what I did to get it up and running.

Code:
@echo off

START /LOW /B minerd.exe --algo scrypt --url http://mine.pool-x.eu:9332/ --PW Name.1:1 --threads 15 -r -1 -s 5

I am new to all of this so any help would be appreciated

Try

Code:
@echo off

minerd.exe --url http://mine.pool-x.eu:9332/ --userpass Name.1:1 --threads 15

It should automatically start with lowest priority.
newbie
Activity: 16
Merit: 0
this may seem like a silly question but how dio I get this to run 15 cores I have a bat file but it doesn't work . I did have this working before but I don't remember what I did to get it up and running.

Code:
@echo off

START /LOW /B minerd.exe --algo scrypt --url http://mine.pool-x.eu:9332/ --PW Name.1:1 --threads 15 -r -1 -s 5

I am new to all of this so any help would be appreciated
member
Activity: 95
Merit: 10
Guys did you notice mouse stuttering on Windows with cpuminer? I have it on low priority but there is a problem with jerky mouse movement quite often, so I sometimes have to pause or interrupt it. Maybe there is some issue with my Windows 7 though...
Dont run it on all cores if the pc is in use
Pages:
Jump to: