Author

Topic: OFFICIAL CGMINER mining software thread for linux/win/osx/mips/arm/r-pi 4.11.0 - page 841. (Read 5805998 times)

full member
Activity: 185
Merit: 100
Stupid question time, How do I exit a cmd window in Windows 7? the only way I know how is by closing said window.
Ctrl + C
full member
Activity: 235
Merit: 100
full member
Activity: 126
Merit: 100
conman, a small reminder for the fixme in the fulltest function in util.c
legendary
Activity: 2576
Merit: 1186
Just to say, that's not gigahashes. It's called nonces really or whatever, but i am pretty much sure it's not GH/s. It's just numbers which the GPU can go over very quickly, where the CPU(my phenom 955) can do around 3 million hashes per second, or 3 million nonces per second.
Each nonce gives a hash/second. You can start over the nonce range every second with new hashes. So your 3 MH/s only covers less than 0.1% of the nonce range before it can start over from the beginning.
As far as i know, per each getwork you have to try 2^32 nonces, if you dont find any hashes that match the diff, you request new work, and the process repeats itself.
Then you don't know. You can do up to 2^32 nonces per second (with X-Roll-Ntime), which is 4 GH/s. You only need to get new work when longpoll returns it, or the pool sets a time limit on the work it gives you (2 minutes with pushpool).
full member
Activity: 126
Merit: 100
Just to say, that's not gigahashes. It's called nonces really or whatever, but i am pretty much sure it's not GH/s. It's just numbers which the GPU can go over very quickly, where the CPU(my phenom 955) can do around 3 million hashes per second, or 3 million nonces per second.
Each nonce gives a hash/second. You can start over the nonce range every second with new hashes. So your 3 MH/s only covers less than 0.1% of the nonce range before it can start over from the beginning.
As far as i know, per each getwork you have to try 2^32 nonces, if you dont find any hashes that match the diff, you request new work, and the process repeats itself.
newbie
Activity: 46
Merit: 0
After i installed the ati amd sdk i get another error:
legendary
Activity: 2576
Merit: 1186
Just to say, that's not gigahashes. It's called nonces really or whatever, but i am pretty much sure it's not GH/s. It's just numbers which the GPU can go over very quickly, where the CPU(my phenom 955) can do around 3 million hashes per second, or 3 million nonces per second.
Each nonce gives a hash/second. You can start over the nonce range every second with new hashes. So your 3 MH/s only covers less than 0.1% of the nonce range before it can start over from the beginning.
full member
Activity: 126
Merit: 100
Just to say, that's not gigahashes. It's called nonces really or whatever, but i am pretty much sure it's not GH/s. It's just numbers which the GPU can go over very quickly, where the CPU(my phenom 955) can do around 3 million hashes per second, or 3 million nonces per second.
legendary
Activity: 2576
Merit: 1186
Honestly luke, that looks like the exact ripoff of my suggestion for splitting a single work across multiple threads on a CPU miner with a given noncerange. So the 2^32 range is divided by the number of threads.
No number of threads on a single cost-effective machine (CPU or GPU) will ever max out 4 GH/s. Putting this in the protocol (though it could be done in the miner additionally) allows the work to be split among multiple unrelated miners. Anyhow, I don't see your "suggestion" anywhere, much less before I wrote up mine. "Ripoff" doesn't apply to independent research.
Not that i understand where these 4 gigahashes of yours come from, but this is my suggestion. http://forum.bitcoin.org/index.php?topic=21275.msg350512#msg350512
Each work can sustain up to 4.294967295 GH/s before you need more. Your suggestion was on July 11th, whereas I originally suggested this June 29th. :p
full member
Activity: 126
Merit: 100
Honestly luke, that looks like the exact ripoff of my suggestion for splitting a single work across multiple threads on a CPU miner with a given noncerange. So the 2^32 range is divided by the number of threads.
No number of threads on a single cost-effective machine (CPU or GPU) will ever max out 4 GH/s. Putting this in the protocol (though it could be done in the miner additionally) allows the work to be split among multiple unrelated miners. Anyhow, I don't see your "suggestion" anywhere, much less before I wrote up mine. "Ripoff" doesn't apply to independent research.
Not that i understand where these 4 gigahashes of yours come from, but this is my suggestion. http://forum.bitcoin.org/index.php?topic=21275.msg350512#msg350512
legendary
Activity: 2576
Merit: 1186
Honestly luke, that looks like the exact ripoff of my suggestion for splitting a single work across multiple threads on a CPU miner with a given noncerange. So the 2^32 range is divided by the number of threads.
No number of threads on a single cost-effective machine (CPU or GPU) will ever max out 4 GH/s. Putting this in the protocol (though it could be done in the miner additionally) allows the work to be split among multiple unrelated miners. Anyhow, I don't see your "suggestion" anywhere, much less before I wrote up mine. "Ripoff" doesn't apply to independent research.
full member
Activity: 126
Merit: 100
Honestly luke, that looks like the exact ripoff of my suggestion for splitting a single work across multiple threads on a CPU miner with a given noncerange. So the 2^32 range is divided by the number of threads.
legendary
Activity: 2576
Merit: 1186
Feature request: Support for X-Roll-Ntime (with expire extension and noncerange

This can allow clusters of many CPUs/GPUs to process the same work up to ~4 GH/s.
x-roll-ntime is supported, but indirectly. The "local generation of work" cgminer does is rolling ntime, and is only done when network connectivity cannot keep up with demand for work. I'm not sure how much I'll be expanding on this feature in the future. I'd be surprised if cgminer couldn't keep massive hashes busy already given how the work is gathered for the worker threads at the moment.
If a miner only has 10 MH/s, I don't want to waste 4 GH/s worth of work (a full nonce range) on them. Using noncerange allows me to chop that up into pieces and share a single work among 256 different 10 MH/s miners. I don't know how it would affect the CPU mining algorithms, but IIRC having to "finish off" a nonce range on a GPU caused some slowdown, so the poclbm branch with support rolls ntime aggressively to avoid it.
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
Feature request: Support for X-Roll-Ntime (with expire extension and noncerange

This can allow clusters of many CPUs/GPUs to process the same work up to ~4 GH/s.
x-roll-ntime is supported, but indirectly. The "local generation of work" cgminer does is rolling ntime, and is only done when network connectivity cannot keep up with demand for work. I'm not sure how much I'll be expanding on this feature in the future. I'd be surprised if cgminer couldn't keep massive hashes busy already given how the work is gathered for the worker threads at the moment.
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
Updated git tree:

- Disable restarting of CPU mining threads pending further investigation.
- Update longpoll messages.
- Add new block data to status line.
- Fix opencl tests for osx.
- Only do local generation of work if the work item is not stale itself.
- Check for stale work within the mining threads and grab new work if
positive.
- Test for idle network conditions and prevent threads from being restarted
by the watchdog thread under those circumstances.
- Make sure that local work generation does not continue indefinitely by
stopping it after 10 minutes.
- Tweak the kernel to have a shorter path using a 4k buffer and a mask on the
nonce value instead of a compare and loop for a shorter code path.
- Allow queue of zero and make that default again now that we can track how
work is being queued versus staged. This can decrease reject rates.
- Queue precisely the number of mining threads as longpoll_staged after a
new block to not generate local work.
legendary
Activity: 2576
Merit: 1186
Feature request: Support for X-Roll-Ntime (with expire extension and noncerange

This can allow clusters of many CPUs/GPUs to process the same work up to ~4 GH/s.
newbie
Activity: 17
Merit: 0
win32 v1.2.6 still has problem with combined gpu+cpu mining and with cpu mining.

radeon 5550 + core i3 (should be 60+Mh/s + ~8Mh/s - both overclocked)

"-g 0 -t 4" - cpu threads keep getting restarted every 60 seconds and don't complete any work.
as someone suggested in the previous topic, it would be much more efficient to make all cpu threads work on a single share because otherwise they complete no work at all.

"-g 2 -t 4" - gpu threads are for some reason hogged by cpu and both cpu and gpu don't complete any work.
checked with gpu-z - gpu load stays at 0
Code:
 cgminer version 1.2.6 - Started: [2011-07-15 16:55:35]
--------------------------------------------------------------------------------
 [(5s):114.6  (avg):230.8 Mh/s] [Q:20  A:0  R:0  HW:0  E:0%  U:0.00/m]

 TQ: 1  ST: 1  LS: 0  SS: 0  DW: 3  LW: 0  LO: 0  RF: 0  I: 0
--------------------------------------------------------------------------------
 GPU 0: [1.7 Mh/s] [Q:4  A:0  R:0  HW:0  E:0%  U:0.00/m]
 CPU 0: [229.1 Mh/s] [Q:12  A:0  R:0  HW:0  E:0%  U:0.00/m]
--------------------------------------------------------------------------------

[2011-07-15 16:57:08] Attempting to restart thread 2, idle for more than 60 seconds

[2011-07-15 16:57:08] Thread 2 restarted
[2011-07-15 16:57:10] Attempting to restart thread 3, idle for more than 60 seconds

[2011-07-15 16:57:10] Thread 3 restarted
[2011-07-15 16:57:12] Attempting to restart thread 4, idle for more than 60 seconds

[2011-07-15 16:57:12] Thread 4 restarted
[2011-07-15 16:57:14] Attempting to restart thread 5, idle for more than 60 seconds

[2011-07-15 16:57:14] Thread 5 restarted
[2011-07-15 16:57:27] LONGPOLL detected new block on network, flushing work queue


also, intensity on dynamic setting stays 0-1 no matter how long i leave the pc running with all other apps closed. are there any specific conditions for increasing the intensity dynamically?
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
newbie
Activity: 46
Merit: 0
ckolivas i still get that error when i'm starting cgminer, any idea on  how to fix it?
hero member
Activity: 588
Merit: 500
I get a ton of messages that look like this:

Code:

[2011-07-15 07:36:36] JSON-RPC call failed: {
   "message": "Deepbit.lib.InfoException: Wrong data: checkWork: this nonce already completedpostWork user:XXXXXXXXXX worker: XXXXXX ip:XXXXXXX d
ata=00000001f781eaf6bec739630c886694a7fe9707717795b0debee5470000026a00000000bd1084c92487046be3d5cfdee3ae7ed69ac16d588111f5a796d9bcfdcd23a0ee4e1fed491a0abbcf20f97809000000800000
000000000000000000000000000000000000000000000000000000000000000000000000000080020000",
   "code": -1
}


If I kill cgminer and restart, the problem goes away, so likely not a poolside problem ...

Why is that, I wonder ?

Looks like a stale share. No idea why it's coming out like that, though.
Jump to: