Bitcoin Forum
December 26, 2024, 07:21:52 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 6 7 8 9 10 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 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 ... 197 »
  Print  
Author Topic: [LOCKED] cpuminer-opt v3.12.3, open source optimized multi-algo CPU miner  (Read 444100 times)
AngryDwarf
Sr. Member
****
Offline Offline

Activity: 476
Merit: 501


View Profile
June 23, 2016, 08:02:03 AM
 #881

Superb work. Some algo's on my ageing CPU are almost half an ageing GPU.

Don't know whether it's possible to report the actual CPU frequency rather than the default CPU frequency in the stats. Some people are probably wondering how I get so much hash out of my CPU! (It's OC'd to 4.6 GHz).

You really should look at getting this onto github. It's quite simple to use. I'd suggest the following:
Create a github account and install git (sudo apt-get install git).
Fork the original source code using the web front end
Clone the fork into a new directory. (git clone <repo>)
Copy your code over the cloned fork code.
Submit the changes. (git commit -n "comment", I think)
Push the changes to github. (git push with a couple of parameters)

It's also easy to track changes made to the original and integrate them after that.

Expect a star from me! Smiley

Scaling and transaction rate: https://bitcointalk.org/index.php?topic=532.msg6306#msg6306
Do not allow demand to exceed capacity. Do not allow mempools to forget transactions. Relay all transactions. Eventually confirm all transactions.
joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
June 23, 2016, 01:34:41 PM
 #882

Superb work. Some algo's on my ageing CPU are almost half an ageing GPU.

Don't know whether it's possible to report the actual CPU frequency rather than the default CPU frequency in the stats. Some people are probably wondering how I get so much hash out of my CPU! (It's OC'd to 4.6 GHz).

You really should look at getting this onto github. It's quite simple to use. I'd suggest the following:
Create a github account and install git (sudo apt-get install git).
Fork the original source code using the web front end
Clone the fork into a new directory. (git clone <repo>)
Copy your code over the cloned fork code.
Submit the changes. (git commit -n "comment", I think)
Push the changes to github. (git push with a couple of parameters)

It's also easy to track changes made to the original and integrate them after that.

Expect a star from me! Smiley

Thanks for the tips.

I agree with CPU freq. Simply displaying the default freq is of no use, it just happens to be part of the brand string.
I'm sure the actual freq can be found, the code may already exist.

About github, I presume your suggestion to fork the original cpuminer-multi is to maintain its history, this is a good thing.
I wanted to wait until the development slowed down so I wouldn't be trying to  learn github while trying to fix bugs in cpuminer.

Now may be a good time to dig into it. I need to play in a sandbox for a while before I comit to it.

AKA JayDDee, cpuminer-opt developer. https://github.com/JayDDee/cpuminer-opt
https://bitcointalk.org/index.php?topic=5226770.msg53865575#msg53865575
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
AngryDwarf
Sr. Member
****
Offline Offline

Activity: 476
Merit: 501


View Profile
June 23, 2016, 03:53:03 PM
 #883

Superb work. Some algo's on my ageing CPU are almost half an ageing GPU.

Don't know whether it's possible to report the actual CPU frequency rather than the default CPU frequency in the stats. Some people are probably wondering how I get so much hash out of my CPU! (It's OC'd to 4.6 GHz).

You really should look at getting this onto github. It's quite simple to use. I'd suggest the following:
Create a github account and install git (sudo apt-get install git).
Fork the original source code using the web front end
Clone the fork into a new directory. (git clone <repo>)
Copy your code over the cloned fork code.
Submit the changes. (git commit -n "comment", I think)
Push the changes to github. (git push with a couple of parameters)

It's also easy to track changes made to the original and integrate them after that.

Expect a star from me! Smiley

Thanks for the tips.

I agree with CPU freq. Simply displaying the default freq is of no use, it just happens to be part of the brand string.
I'm sure the actual freq can be found, the code may already exist.

About github, I presume your suggestion to fork the original cpuminer-multi is to maintain its history, this is a good thing.
I wanted to wait until the development slowed down so I wouldn't be trying to  learn github while trying to fix bugs in cpuminer.

Now may be a good time to dig into it. I need to play in a sandbox for a while before I comit to it.

github not to hard to learn, at its basics. Original developer might be terse and not open for discussion. Which is not good for a serial forker.

Scaling and transaction rate: https://bitcointalk.org/index.php?topic=532.msg6306#msg6306
Do not allow demand to exceed capacity. Do not allow mempools to forget transactions. Relay all transactions. Eventually confirm all transactions.
joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
June 24, 2016, 05:30:24 PM
 #884

Superb work. Some algo's on my ageing CPU are almost half an ageing GPU.

Don't know whether it's possible to report the actual CPU frequency rather than the default CPU frequency in the stats. Some people are probably wondering how I get so much hash out of my CPU! (It's OC'd to 4.6 GHz).
Thanks for the tips.

I agree with CPU freq. Simply displaying the default freq is of no use, it just happens to be part of the brand string.
I'm sure the actual freq can be found, the code may already exist.

CPU freq is not so simple. It can be read diectly from the /sys/ or /proc/ file systems on Linux but I don't know of an API
for Windows.

Using /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq would be preferred because it returns a simple numeric string.
But it is root access only.

/proc/cpuinfo is accessible and also includes the CPU freq but it needs to be filtered from two pages of output.

This will require more thought and more work.

AKA JayDDee, cpuminer-opt developer. https://github.com/JayDDee/cpuminer-opt
https://bitcointalk.org/index.php?topic=5226770.msg53865575#msg53865575
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
Epsylon3
Legendary
*
Offline Offline

Activity: 1484
Merit: 1082


ccminer/cpuminer developer


View Profile WWW
June 24, 2016, 08:22:51 PM
 #885

yep the only reliable way found was dmidecode | grep MHz Wink

found no way on windows to get the freq and the temperature :/ it seems to require some low level drivers to access some protected asm

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi - yiimp
joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
July 14, 2016, 04:49:55 PM
Last edit: July 14, 2016, 06:25:48 PM by joblo
 #886

cpuminer-opt v3.3.7 released.

https://drive.google.com/file/d/0B0lVSGQYLJIZc0x3V2JPUXhPLWs/view?usp=sharing

- lyra2 AES optimized +7%
- small increase, ~1%, in most chained algos (x11, quark, lyra2v2, etc)
- lyra2v2 now reported as AES optimized
- added a decimal place to the accepted rate percentage if less than 100%

Windows binaries:

http://cryptomining-blog.com/wp-content/download/cpuminer-opt-3-3-7-windows.zip

AKA JayDDee, cpuminer-opt developer. https://github.com/JayDDee/cpuminer-opt
https://bitcointalk.org/index.php?topic=5226770.msg53865575#msg53865575
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
felixbrucker
Hero Member
*****
Offline Offline

Activity: 700
Merit: 500


View Profile WWW
July 19, 2016, 04:23:16 AM
 #887

hi joblo,

it seems decred (and maybe other algos?) generate 100% rejected on nicehash with the following error:
"reject reason: Invalid extranonce2 size."

is this a bug?

br
Epsylon3
Legendary
*
Offline Offline

Activity: 1484
Merit: 1082


ccminer/cpuminer developer


View Profile WWW
July 19, 2016, 09:44:19 AM
 #888

nicehash is using its own protocol. Even if it looks correct, i think its not better and might create problems on future blockchain votes.

My implementation was accepted/reviewed by the decred team, they have seen the vote problem (the last bit of the vote field should never be changed by the miner, and blocks will not be accepted by "proper" pools)
First i thought it was always 1 but it can be 0 too. its a small thing but could be important later.

Nicehash made a different one without contacting decred team

Else for multi gpus, my initial protocol seems better/easier to handle

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi - yiimp
joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
July 19, 2016, 02:58:04 PM
 #889

hi joblo,

it seems decred (and maybe other algos?) generate 100% rejected on nicehash with the following error:
"reject reason: Invalid extranonce2 size."

is this a bug?

br

Thanks for reporting this. It appears to be specific to decred and nicehash. I will look into this and do a round of testing
on nicehash to confirm only decred is broken. I'm not very motivated to implement a workaround if it only applies to one
algo in one pool.

I should also point out that decred, and other blake algos, are the worst performing algos for CPU mining.

In summary this is a very low priority issue.

AKA JayDDee, cpuminer-opt developer. https://github.com/JayDDee/cpuminer-opt
https://bitcointalk.org/index.php?topic=5226770.msg53865575#msg53865575
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
July 19, 2016, 08:50:46 PM
 #890

I can confirm that mining decred at nicehash is broken yet it works at zpool. I have also found some of the
other blake based algos are broken at nicehash.

I will have to do some more investigation.

AKA JayDDee, cpuminer-opt developer. https://github.com/JayDDee/cpuminer-opt
https://bitcointalk.org/index.php?topic=5226770.msg53865575#msg53865575
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
Epsylon3
Legendary
*
Offline Offline

Activity: 1484
Merit: 1082


ccminer/cpuminer developer


View Profile WWW
July 19, 2016, 08:59:36 PM
 #891

i heard skein2 too Wink

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi - yiimp
joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
July 19, 2016, 09:28:02 PM
 #892

i heard skein2 too Wink

Yup, I broke that in 3.3.7. I knew that one of my optimizations would break it but forgot to follow up.
I had removed the automatic ctx init in the close function of all sph algos because it was unnecessary
in most cases. But it is needed in algos like skein2 that run the same algo multiple times. I simply forgot
to add an explicit init before the second skein round.


AKA JayDDee, cpuminer-opt developer. https://github.com/JayDDee/cpuminer-opt
https://bitcointalk.org/index.php?topic=5226770.msg53865575#msg53865575
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
felixbrucker
Hero Member
*****
Offline Offline

Activity: 700
Merit: 500


View Profile WWW
July 20, 2016, 04:20:38 PM
 #893

thanks for looking into it, yes its a low prio issue, maybe its fixed in some future release Smiley
felixbrucker
Hero Member
*****
Offline Offline

Activity: 700
Merit: 500


View Profile WWW
July 20, 2016, 04:26:58 PM
 #894

i stumbled upon this as i was running some benchmark with nicehash for my cpu autoswitching miner control software (which uses cpuminer-opt)
felixbrucker
Hero Member
*****
Offline Offline

Activity: 700
Merit: 500


View Profile WWW
July 21, 2016, 10:38:41 PM
 #895

is there a way to statically build/link the miner (linux) ?

i wasn't able to get it running
joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
July 21, 2016, 10:45:52 PM
 #896

is there a way to statically build/link the miner (linux) ?

i wasn't able to get it running

A native build is always prefereable to ensure you're taking advantage of all the optimizations supported
by your CPU.

Describe the problem you're having. Does it fail to compile, or fail to run after compiling? Post any error
messages.


AKA JayDDee, cpuminer-opt developer. https://github.com/JayDDee/cpuminer-opt
https://bitcointalk.org/index.php?topic=5226770.msg53865575#msg53865575
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
Godson_Mansa
Hero Member
*****
Offline Offline

Activity: 616
Merit: 503


@Mansa_Godson


View Profile
July 21, 2016, 11:50:17 PM
 #897

hey joblo, i run a windows 32 bit machine, considering the sw is for 64 bit i can't use it, is there a possible workaround ?
thanks

http://MutualCapitalCrypto.com

Bitrated user: AltcoinGodson.
yubsep
Sr. Member
****
Offline Offline

Activity: 658
Merit: 251


View Profile
July 21, 2016, 11:54:54 PM
 #898

Good.. I'm running CPU-Miner at i7 6700K 8M on windows 7 64x and didn't have any problem...
joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
July 22, 2016, 12:22:26 AM
 #899

hey joblo, i run a windows 32 bit machine, considering the sw is for 64 bit i can't use it, is there a possible workaround ?
thanks

No and it's not worth it if there was.

AKA JayDDee, cpuminer-opt developer. https://github.com/JayDDee/cpuminer-opt
https://bitcointalk.org/index.php?topic=5226770.msg53865575#msg53865575
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
Fuzzbawls
Hero Member
*****
Offline Offline

Activity: 750
Merit: 500



View Profile
July 22, 2016, 12:23:56 AM
 #900

hey joblo, i run a windows 32 bit machine, considering the sw is for 64 bit i can't use it, is there a possible workaround ?
thanks

probably time to upgrade the computer/OS or replace it entirely. If the CPU is indeed 32-bit, then mining with it will be academic at best. Latest Intel 32-bit CPUs didn't handle thermal design very well, and overheating was quite common in the high clockspeed pentium 4's. Latest AMD 32-bit CPUs lack support for SSE2, which this miner also uses quite heavily.

If you have a 64-bit CPU, but are using a 32-bit OS...upgrade your OS.
Pages: « 1 2 3 4 5 6 7 8 9 10 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 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 ... 197 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!