Bitcoin Forum
November 19, 2024, 03:59:59 PM *
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 ... 843 »
  Print  
Author Topic: OFFICIAL CGMINER mining software thread for linux/win/osx/mips/arm/r-pi 4.11.1  (Read 5805645 times)
This is a self-moderated topic. If you do not want to be moderated by the person who started this topic, create a new topic. (3 posts by 1+ user deleted.)
d3m0n1q_733rz
Sr. Member
****
Offline Offline

Activity: 378
Merit: 250



View Profile WWW
July 28, 2011, 08:22:48 PM
 #541

CPU Mining doesn't work properly. No accepted shares through CPU. Only GPU works as expected.
After 2 hours run time i can see the following:

Code:
cgminer version 1.5.1 - Started: [2011-07-28 13:37:27]
--------------------------------------------------------------------------------
 [(5s):117.4  (avg):111.8 Mh/s] [Q:1152  A:144  R:34  HW:0  E:12%  U:1.19/m]
 TQ: 1  ST: 5  LS: 0  SS: 0  DW: 455  NB: 14  LW: 1017  LO: 2  RF: 0  I: 4
 Connected to http://mining.eligius.st:8337 as user XYZ
 Block 000151fdeb39b3e1a21b797f87bdd355  started: [2011-07-28 15:32:34]
--------------------------------------------------------------------------------
 [P]ool management [G]PU management [S]ettings [D]isplay options [Q]uit
 GPU 0: [102.8 / 102.0 Mh/s] [Q:678  A:144  R:11  HW:0  E:21%  U:1.19/m]
 CPU 0: [2.5 / 2.5 Mh/s] [Q:259  A:0  R:6  HW:0  E:0%  U:0.00/m]
 CPU 1: [2.5 / 2.5 Mh/s] [Q:258  A:0  R:7  HW:0  E:0%  U:0.00/m]
 CPU 2: [2.3 / 2.4 Mh/s] [Q:260  A:0  R:7  HW:0  E:0%  U:0.00/m]
 CPU 3: [2.5 / 2.4 Mh/s] [Q:257  A:0  R:3  HW:0  E:0%  U:0.00/m]
--------------------------------------------------------------------------------

- CPU: Athlon II 605e (4x 2,3 GHz)
- GPU: HD 5670 oced to 900 MHz (Mem 300 MHz)
- Gentoo 64 bit stable
- Catalyst 11.6 with SDK 2.4
- latest cgminer GIT version

It could be that blocks are being found before you receive the next one.  It appears that your CPU hashing a rather slow which is understandable for a 2.3 Ghz processor.  But pay close attention to your accepted to rejected ratio on your GPU; with that high of a rejection rate, either something is happening with your network that is causing it not to send at the right time.  If this happens, the work will go stale and be rejected.
There's a number of reasons why the work could have been rejected but I don't think that the miner itself is one of them.

Funroll_Loops, the theoretically quicker breakfast cereal!
Check out http://www.facebook.com/JupiterICT for all of your computing needs.  If you need it, we can get it.  We have solutions for your computing conundrums.  BTC accepted!  12HWUSguWXRCQKfkPeJygVR1ex5wbg3hAq
plantucha
Newbie
*
Offline Offline

Activity: 56
Merit: 0


View Profile WWW
July 28, 2011, 09:35:43 PM
 #542

CPU Mining doesn't work properly. No accepted shares through CPU. Only GPU works as expected.
After 2 hours run time i can see the following:

Code:
cgminer version 1.5.1 - Started: [2011-07-28 13:37:27]
--------------------------------------------------------------------------------
 [(5s):117.4  (avg):111.8 Mh/s] [Q:1152  A:144  R:34  HW:0  E:12%  U:1.19/m]
 TQ: 1  ST: 5  LS: 0  SS: 0  DW: 455  NB: 14  LW: 1017  LO: 2  RF: 0  I: 4
 Connected to http://mining.eligius.st:8337 as user XYZ
 Block 000151fdeb39b3e1a21b797f87bdd355  started: [2011-07-28 15:32:34]
--------------------------------------------------------------------------------
 [P]ool management [G]PU management [S]ettings [D]isplay options [Q]uit
 GPU 0: [102.8 / 102.0 Mh/s] [Q:678  A:144  R:11  HW:0  E:21%  U:1.19/m]
 CPU 0: [2.5 / 2.5 Mh/s] [Q:259  A:0  R:6  HW:0  E:0%  U:0.00/m]
 CPU 1: [2.5 / 2.5 Mh/s] [Q:258  A:0  R:7  HW:0  E:0%  U:0.00/m]
 CPU 2: [2.3 / 2.4 Mh/s] [Q:260  A:0  R:7  HW:0  E:0%  U:0.00/m]
 CPU 3: [2.5 / 2.4 Mh/s] [Q:257  A:0  R:3  HW:0  E:0%  U:0.00/m]
--------------------------------------------------------------------------------

- CPU: Athlon II 605e (4x 2,3 GHz)
- GPU: HD 5670 oced to 900 MHz (Mem 300 MHz)
- Gentoo 64 bit stable
- Catalyst 11.6 with SDK 2.4
- latest cgminer GIT version

It could be that blocks are being found before you receive the next one.  It appears that your CPU hashing a rather slow which is understandable for a 2.3 Ghz processor.  But pay close attention to your accepted to rejected ratio on your GPU; with that high of a rejection rate, either something is happening with your network that is causing it not to send at the right time.  If this happens, the work will go stale and be rejected.
There's a number of reasons why the work could have been rejected but I don't think that the miner itself is one of them.

I can confirm. CPU mining doesn't work
1.5.&up i have to go back to 1.4 and it works

with 1.5 only   4% was acepted  96% rejected

- CPU: AMD Phenom X6
- GPU: 4x HD 6790 oced to 900 MHz (Mem 300 MHz)
- ubuntu 64 bit natty
- Catalyst 11.6 with SDK 2.4

RudeDude
Newbie
*
Offline Offline

Activity: 11
Merit: 0


View Profile
July 28, 2011, 09:48:04 PM
 #543

I can confirm. CPU mining doesn't work
1.5.&up i have to go back to 1.4 and it works

with 1.5 only   4% was acepted  96% rejected

- CPU: AMD Phenom X6
- GPU: 4x HD 6790 oced to 900 MHz (Mem 300 MHz)
- ubuntu 64 bit natty
- Catalyst 11.6 with SDK 2.4

Have you tried forcing other CPU algorithms with the "-a" option? Perhaps it is particular to a algorithm running on your CPU architecture? You might need to look at the debug output for some of the rejects to get an idea why they are failing. Also, what pool are you connecting to?

-- RD
sirky
Sr. Member
****
Offline Offline

Activity: 404
Merit: 250



View Profile
July 28, 2011, 09:51:54 PM
Last edit: July 28, 2011, 11:53:15 PM by sirky
 #544

CGMINER works perfectly on two of my boxes, but on a third (a 32 bit Win7 box) it is getting the OpenCL 0 byte binary issue. I have tried running the program like 15 times in a row and also rebooting.

I am about to try booting to linux instead and running it there and reporting back, but I am just letting you know.

Edit: Actually I won't get to it tonight, but I will try to get this done in the morning!
-ck (OP)
Legendary
*
Offline Offline

Activity: 4298
Merit: 1645


Ruu \o/


View Profile WWW
July 28, 2011, 10:29:18 PM
 #545

The ncurses crash that you fixed in 1.5.0 is back again. This is a really annoying crash and there is no way I can update curses on Ubuntu 10.04 LTS, I was hoping to switch over from Diabolo today :-/
I fixed as much as I could at my end. There will still be a curses bug that I have no control over and only goes away by upgrading curses.
See:
http://davidben.net/blog/2010/05/03/barnowl-ncurses-and-terminal-resizing/
for the story of how the guy found the bug and fixed it.

So the only solution for any remaining resizing bugs is to upgrade ncurses or not use the curses interface by using -T mode. On ubuntu you could add the repository for a newer release and just select ncurses from that, or you could install it yourself. Either way the bug is not going to go away entirely since it's in ncurses itself.

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
d3m0n1q_733rz
Sr. Member
****
Offline Offline

Activity: 378
Merit: 250



View Profile WWW
July 28, 2011, 10:59:34 PM
 #546

Wouldn't suppose you could fix those intrinsics and such on your spare time?  *poke poke*   Grin
There would be a very modest improvement to hashing speed if we could get that SSE4 code to actually compile beyond SSE2.  We may need to adjust the alignment from 8 to 16 in one portion so as to let it take advantage of the optimizations which can only take place at a 16 byte boundary.
But yeah, check it out.  If we allow for the optimization to occur, and even include the intrinsics for an AMD processor, it could be as easy as specifying the CPU in the CFLAGS or using native that causes it to compile for Intel or AMD.  And, with the binary you create, simply using -mtune= whatever would allow for all processors of and under the specified type.  Unfortunately, I've had no luck with trying to modify the code to enable these and they keep compiling for SSE2 only.
Even the horizontal math functions of SSE3 could make for a modest improvement on small rotations.  But I'm going to keep trying to figure out what's causing the hiccup on compiling.

Funroll_Loops, the theoretically quicker breakfast cereal!
Check out http://www.facebook.com/JupiterICT for all of your computing needs.  If you need it, we can get it.  We have solutions for your computing conundrums.  BTC accepted!  12HWUSguWXRCQKfkPeJygVR1ex5wbg3hAq
plantucha
Newbie
*
Offline Offline

Activity: 56
Merit: 0


View Profile WWW
July 29, 2011, 03:45:42 AM
 #547

I can confirm. CPU mining doesn't work
1.5.&up i have to go back to 1.4 and it works

with 1.5 only   4% was acepted  96% rejected

- CPU: AMD Phenom X6
- GPU: 4x HD 6790 oced to 900 MHz (Mem 300 MHz)
- ubuntu 64 bit natty
- Catalyst 11.6 with SDK 2.4

Have you tried forcing other CPU algorithms with the "-a" option? Perhaps it is particular to a algorithm running on your CPU architecture? You might need to look at the debug output for some of the rejects to get an idea why they are failing. Also, what pool are you connecting to?

-- RD

Yes I tried
sse4_64 - doesn't work ( AMD CPU doesnt support it)
sse2_64 - ~17Mh/s
4way     - ~21Mh/s
everything else is so small I will not even talk about it.

But as I said, same string works with older version, so it will be code related.




plantucha
Newbie
*
Offline Offline

Activity: 56
Merit: 0


View Profile WWW
July 29, 2011, 03:55:41 AM
 #548

I can confirm. CPU mining doesn't work
1.5.&up i have to go back to 1.4 and it works

with 1.5 only   4% was acepted  96% rejected

- CPU: AMD Phenom X6
- GPU: 4x HD 6790 oced to 900 MHz (Mem 300 MHz)
- ubuntu 64 bit natty
- Catalyst 11.6 with SDK 2.4

Have you tried forcing other CPU algorithms with the "-a" option? Perhaps it is particular to a algorithm running on your CPU architecture? You might need to look at the debug output for some of the rejects to get an idea why they are failing. Also, what pool are you connecting to?

-- RD

Yes I tried
sse4_64 - doesn't work ( AMD CPU doesnt support it)
sse2_64 - ~17Mh/s
4way     - ~21Mh/s
everything else is so small I will not even talk about it.

But as I said, same string works with older version, so it will be code related.


Also I noticed after couple hours is CPU mining hashing going slowly down
For example
on start after 2 minutes  is ~21Mh/s
after 8 hours ~13Mh/s

if I stop miner and start miner, it is again ~21Mh/s.
With all versions versions Cgminer.

Predecessor (CPUminer) is holding starting values same all the time. (unfortunately freezing every couple hours)




d3m0n1q_733rz
Sr. Member
****
Offline Offline

Activity: 378
Merit: 250



View Profile WWW
July 29, 2011, 04:05:43 AM
Last edit: July 29, 2011, 04:21:41 AM by d3m0n1q_733rz
 #549

Status update on SSE4 miner.  I'm playing around with changing _mm_set_esi32 to _mm_insert_esi32 for the offset and using _mm_castsi128_ps to pull each value out.  I still hate C.

I wouldn't mind some help.  I'm also looking at replacing some memcpy functions with void _mm_stream_pi if possible.  There are quite a few movd functions which I know could be replaced with movntd to increase efficiency of the code.  I'm also hoping to prefetch some of the values to be copied into the registers to decrease hiccups and fluctuations in hashing speed.

Funroll_Loops, the theoretically quicker breakfast cereal!
Check out http://www.facebook.com/JupiterICT for all of your computing needs.  If you need it, we can get it.  We have solutions for your computing conundrums.  BTC accepted!  12HWUSguWXRCQKfkPeJygVR1ex5wbg3hAq
d3m0n1q_733rz
Sr. Member
****
Offline Offline

Activity: 378
Merit: 250



View Profile WWW
July 29, 2011, 04:17:42 AM
 #550

I can confirm. CPU mining doesn't work
1.5.&up i have to go back to 1.4 and it works

with 1.5 only   4% was acepted  96% rejected

- CPU: AMD Phenom X6
- GPU: 4x HD 6790 oced to 900 MHz (Mem 300 MHz)
- ubuntu 64 bit natty
- Catalyst 11.6 with SDK 2.4

Have you tried forcing other CPU algorithms with the "-a" option? Perhaps it is particular to a algorithm running on your CPU architecture? You might need to look at the debug output for some of the rejects to get an idea why they are failing. Also, what pool are you connecting to?

-- RD

Yes I tried
sse4_64 - doesn't work ( AMD CPU doesnt support it)
sse2_64 - ~17Mh/s
4way     - ~21Mh/s
everything else is so small I will not even talk about it.

But as I said, same string works with older version, so it will be code related.

I'm trying to come up with ways to make it AMD compatible.  There is C code for SSE4, but it compiles the same as SSE2 due to the intrinsics being the same and using the same functions.  There would need to be a structural change in how it's implemented in order to take full advantage of the newer SSE instructions and I don't know much about programming in C.
The ASM code uses movntdqa which can be replaced with MOVNTSD in theory.  I don't have an AMD processor to play around with it, but you're free to try.

Funroll_Loops, the theoretically quicker breakfast cereal!
Check out http://www.facebook.com/JupiterICT for all of your computing needs.  If you need it, we can get it.  We have solutions for your computing conundrums.  BTC accepted!  12HWUSguWXRCQKfkPeJygVR1ex5wbg3hAq
-ck (OP)
Legendary
*
Offline Offline

Activity: 4298
Merit: 1645


Ruu \o/


View Profile WWW
July 29, 2011, 04:18:48 AM
 #551

Also I noticed after couple hours is CPU mining hashing going slowly down
For example
on start after 2 minutes  is ~21Mh/s
after 8 hours ~13Mh/s

if I stop miner and start miner, it is again ~21Mh/s.
With all versions versions Cgminer.
That bug was fixed in 1.5.2

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
Lightspeed
Full Member
***
Offline Offline

Activity: 126
Merit: 100



View Profile
July 29, 2011, 04:34:18 AM
 #552

* Lightspeed wants a feature

if I make the command prompt window like 120 high can we increase the number of displayed output lines so it fills the whole screen?

I'll donate again if you do it Tongue

Overclocking = money? Greatest full time hobby ever!
1AR2eheP4nckS3tuzZHG6ARYndeddxmeDg
d3m0n1q_733rz
Sr. Member
****
Offline Offline

Activity: 378
Merit: 250



View Profile WWW
July 29, 2011, 04:48:43 AM
 #553

Hehe, I've been trying to make changes to speed up the code so I could have something to donate.  I have a 4-core CPU capable of SSE4.1 but two ATI HD2600 graphics cards not capable of anything.  If I could get this code even slightly faster, I would have more than 1 or so bitcoins a month.

Funroll_Loops, the theoretically quicker breakfast cereal!
Check out http://www.facebook.com/JupiterICT for all of your computing needs.  If you need it, we can get it.  We have solutions for your computing conundrums.  BTC accepted!  12HWUSguWXRCQKfkPeJygVR1ex5wbg3hAq
ancow
Full Member
***
Offline Offline

Activity: 373
Merit: 100


View Profile WWW
July 29, 2011, 04:58:32 AM
 #554

* Lightspeed wants a feature

if I make the command prompt window like 120 high can we increase the number of displayed output lines so it fills the whole screen?

I'll donate again if you do it Tongue
At least on Linux and Mac, ncurses already takes advantage of the available console height, so this is either a Windows compilation issue or some problem with the way Windows does the resizing. Did you resize using the window controls or the settings?

BTC: 1GAHTMdBN4Yw3PU66sAmUBKSXy2qaq2SF4
-ck (OP)
Legendary
*
Offline Offline

Activity: 4298
Merit: 1645


Ruu \o/


View Profile WWW
July 29, 2011, 05:03:18 AM
 #555

The code already checks the window size every 2.5 seconds on average and then resizes. Windows curses problem?

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
-ck (OP)
Legendary
*
Offline Offline

Activity: 4298
Merit: 1645


Ruu \o/


View Profile WWW
July 29, 2011, 05:20:53 AM
 #556

As for CPU mining in 1.5.x+, I find the rate of accepted shares is the same crap rate as previous versions, as far as CPU mining goes. It's no worse than it ever was, but the efficiency is higher (efficiency being accepted shares / requests, NOT the reject rate).

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
tenzor
Sr. Member
****
Offline Offline

Activity: 308
Merit: 250


View Profile
July 29, 2011, 07:59:19 AM
 #557

I have weird reject rate right after pool found the block. In normal reject rate is about 2% and after block founded on current pool, rate increases up to 5-10% and slowly down back to normal.
I use poclbm at other machines and there reject rate remains the same.

Also on poclbm reject rate about 0.5-0.7% in contrast 2% on cgminer.

Latest git cgminer, latest git poclbm
Lightspeed
Full Member
***
Offline Offline

Activity: 126
Merit: 100



View Profile
July 29, 2011, 08:35:19 AM
 #558

im mining on ozcoin and get 0 rejects with cg miner 1.3+, if my connection wigs out really badly then i get stales but thats my 3gs fault not software Cheesy

Overclocking = money? Greatest full time hobby ever!
1AR2eheP4nckS3tuzZHG6ARYndeddxmeDg
d3m0n1q_733rz
Sr. Member
****
Offline Offline

Activity: 378
Merit: 250



View Profile WWW
July 29, 2011, 09:42:01 AM
 #559

I have weird reject rate right after pool found the block. In normal reject rate is about 2% and after block founded on current pool, rate increases up to 5-10% and slowly down back to normal.
I use poclbm at other machines and there reject rate remains the same.

Also on poclbm reject rate about 0.5-0.7% in contrast 2% on cgminer.

Latest git cgminer, latest git poclbm
That could also simply be coincidence.  Are you seeing this frequently or just the one time?

Funroll_Loops, the theoretically quicker breakfast cereal!
Check out http://www.facebook.com/JupiterICT for all of your computing needs.  If you need it, we can get it.  We have solutions for your computing conundrums.  BTC accepted!  12HWUSguWXRCQKfkPeJygVR1ex5wbg3hAq
PLaci1982
Full Member
***
Offline Offline

Activity: 168
Merit: 100


Live long and prosper. \\//,


View Profile
July 29, 2011, 10:10:36 AM
 #560

The ncurses crash that you fixed in 1.5.0 is back again. This is a really annoying crash and there is no way I can update curses on Ubuntu 10.04 LTS, I was hoping to switch over from Diabolo today :-/

Give a try to libcurl4-gnutls-dev...
Quote
sudo apt-get install libcurl4-gnutls-dev

Hardware Expert / WinXP, Win7 Expert

1J5oPkyGVdb4mv44KGZQYsHS2ch6e1t4rc
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 ... 843 »
  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!