AngryDwarf
|
|
June 23, 2016, 08:02:03 AM |
|
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!
|
|
|
|
joblo (OP)
Legendary
Offline
Activity: 1470
Merit: 1114
|
|
June 23, 2016, 01:34:41 PM |
|
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! 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.
|
|
|
|
AngryDwarf
|
|
June 23, 2016, 03:53:03 PM |
|
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! 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.
|
|
|
|
joblo (OP)
Legendary
Offline
Activity: 1470
Merit: 1114
|
|
June 24, 2016, 05:30:24 PM |
|
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.
|
|
|
|
Epsylon3
Legendary
Offline
Activity: 1484
Merit: 1082
ccminer/cpuminer developer
|
|
June 24, 2016, 08:22:51 PM |
|
yep the only reliable way found was dmidecode | grep MHz 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
|
|
|
|
|
felixbrucker
|
|
July 19, 2016, 04:23:16 AM |
|
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
Activity: 1484
Merit: 1082
ccminer/cpuminer developer
|
|
July 19, 2016, 09:44:19 AM |
|
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
|
|
|
|
joblo (OP)
Legendary
Offline
Activity: 1470
Merit: 1114
|
|
July 19, 2016, 02:58:04 PM |
|
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.
|
|
|
|
joblo (OP)
Legendary
Offline
Activity: 1470
Merit: 1114
|
|
July 19, 2016, 08:50:46 PM |
|
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.
|
|
|
|
Epsylon3
Legendary
Offline
Activity: 1484
Merit: 1082
ccminer/cpuminer developer
|
|
July 19, 2016, 08:59:36 PM |
|
i heard skein2 too
|
|
|
|
joblo (OP)
Legendary
Offline
Activity: 1470
Merit: 1114
|
|
July 19, 2016, 09:28:02 PM |
|
i heard skein2 too 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.
|
|
|
|
felixbrucker
|
|
July 20, 2016, 04:20:38 PM |
|
thanks for looking into it, yes its a low prio issue, maybe its fixed in some future release
|
|
|
|
felixbrucker
|
|
July 20, 2016, 04:26:58 PM |
|
i stumbled upon this as i was running some benchmark with nicehash for my cpu autoswitching miner control software (which uses cpuminer-opt)
|
|
|
|
felixbrucker
|
|
July 21, 2016, 10:38:41 PM |
|
is there a way to statically build/link the miner (linux) ?
i wasn't able to get it running
|
|
|
|
joblo (OP)
Legendary
Offline
Activity: 1470
Merit: 1114
|
|
July 21, 2016, 10:45:52 PM |
|
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.
|
|
|
|
Godson_Mansa
|
|
July 21, 2016, 11:50:17 PM |
|
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
|
|
|
|
yubsep
|
|
July 21, 2016, 11:54:54 PM |
|
Good.. I'm running CPU-Miner at i7 6700K 8M on windows 7 64x and didn't have any problem...
|
|
|
|
joblo (OP)
Legendary
Offline
Activity: 1470
Merit: 1114
|
|
July 22, 2016, 12:22:26 AM |
|
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.
|
|
|
|
Fuzzbawls
|
|
July 22, 2016, 12:23:56 AM |
|
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.
|
|
|
|
|