Bitcoin Forum
April 25, 2024, 12:47:15 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 [318] 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 ... 843 »
  Print  
Author Topic: OFFICIAL CGMINER mining software thread for linux/win/osx/mips/arm/r-pi 4.11.1  (Read 5805212 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.)
kano
Legendary
*
Offline Offline

Activity: 4466
Merit: 1798


Linux since 1997 RedHat 4


View Profile
August 02, 2012, 11:27:43 PM
 #6341

If I had the time/could be bothered I'd put timers around each of the send/receive and find the max/min/avg values. But that ain't gonna happen in the next week or so.
3s is arbitary. So is 3s for the watchdog, 5s for the stats interval, and any number of other time selections cgminer is littered with. Where did your 100ms come from? Careful analysis?
3s was just a suggestion, and no it won't catch everything. No value apart from infinite will, then we run into other troubles. But we can try mitigating problems, no?

Anway, 2.5.0 is running rock solid for me, so I'm sticking to that for now.
My 100ms comes from the fact that you cannot wait less than that in linux with the current (original) method used to talk to the BFL.
Sending work to the BFL will take a bit over 4ms
The reply will be less than that since it is less data.
The Icarus W value is a bit over 6ms
All up we are well under 20ms - so even if the BFL takes a ridiculous 80ms to 'decide' to reply we are still under 100ms
I also ran it for many days with my problematic BFL with the maximum speed bitstream and never got a timeout
If the device really does come close to 100ms to return a reply to anything that is ready to reply, BFL should be shot.
... 100ms = 83M hashes (on the standard bitstream)

Pool: https://kano.is - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
1714049235
Hero Member
*
Offline Offline

Posts: 1714049235

View Profile Personal Message (Offline)

Ignore
1714049235
Reply with quote  #2

1714049235
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714049235
Hero Member
*
Offline Offline

Posts: 1714049235

View Profile Personal Message (Offline)

Ignore
1714049235
Reply with quote  #2

1714049235
Report to moderator
-ck (OP)
Legendary
*
Offline Offline

Activity: 4088
Merit: 1631


Ruu \o/


View Profile WWW
August 02, 2012, 11:32:08 PM
 #6342

Bear in mind it always times out after 100ms anyway if you hadn't specified bitforce: in 2.5.0 so this is not the problem we are facing, although I believe we have a working theory for what's going wrong, so I'll hack together a simple workaround that hopefully fixes it.

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

Activity: 136
Merit: 10


tester


View Profile
August 02, 2012, 11:33:20 PM
 #6343

HD7950OC
something is wrong,
BTC with no problems ~ 530MH/s
but can not set it up to digging LTC.
winsows 7 x64, driver 12.6, SDK 2.7
now i go to bed, after 3 hours i must do to work ....
(+_+)

http://i45.tinypic.com/29aseft.jpg

Vorksholk
Legendary
*
Offline Offline

Activity: 1713
Merit: 1029



View Profile WWW
August 03, 2012, 12:40:15 AM
 #6344

If anyone is having trouble getting cgminer to mine Litecoins, I put together a program for Windows users that generates the .bat file for you, all you need to know is your GPU model (5970, 6990M) and pool info, my program will find the shader rating for you.

https://bitcointalk.org/index.php?topic=98222

Will provide source upon request. As well, inside the jar are all the .java source files.

VeriBlock: Securing The World's Blockchains Using Bitcoin
https://veriblock.org
-ck (OP)
Legendary
*
Offline Offline

Activity: 4088
Merit: 1631


Ruu \o/


View Profile WWW
August 03, 2012, 12:44:19 AM
Last edit: August 03, 2012, 01:35:03 AM by ckolivas
 #6345

New release: 2.6.2, August 3rd 2012

Remember, 2.6.x so far is a certified disaster area for BFL.
Random bugfixes only:

Human readable changelog
BFL devices that would stop working have had numerous workarounds added.
GPUs that would restart quietly on 2.5.0 would go dead on 2.6.1, which should be fixed.
With many pools in a configuration and failover-only, there could have been lag on startup waiting for work.
Don't disable BFL devices if the temperature for cutoff is inadvertently set to 0.

Full changelog
- Scrypt mining does not support block testing yet so don't try to print it.
- Clear the bitforce buffer whenever we get an unexpected result as it has
likely throttled and we are getting cached responses out of order, and use the
temperature monitoring as a kind of watchdog to flush unexpected results.
- It is not critical getting the temperature response in bitforce so don't
mandatorily wait on the mutex lock.
- Check there is a cutoff temp actually set in bitforce before using it as a cut
off value otherwise it may think it's set to zero degrees.
- We dropped the temporary stopping of curl recruiting on submit_fail by
mistake, reinstate it.
- Make threads report in either side of the scanhash function in case we miss
reporting in when restarting work.
- Don't make mandatory work and its clones last forever.
- Make test work for pool_active mandatory work items to smooth out staged work
counts when in failover-only mode.
- Add debugging output when work is found stale as to why.
- Print the 3 parameters that are passed to applog for a debug line in
bitforce.c
- Clear bitforce buffer on init as previously.
- Add some headroom to the number of curls available per pool to allow for
longpoll and sendwork curls.
- Revert "Revert "Change BFL driver thread initialising to a constant 100ms
delay between devices instead of a random arrangement.""
- Revert "Remove bitforce_thread_init"
- Show the correct base units on GPU summary.
- Differentiate between the send return value being a bool and the get return
value when managing them in bitforce scanhash.
- Revert "bitforce: Skip out of sending work if work restart requested"

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

Activity: 4466
Merit: 1798


Linux since 1997 RedHat 4


View Profile
August 03, 2012, 02:21:05 AM
Last edit: August 03, 2012, 07:47:03 AM by kano
 #6346

An Xubuntu 11.04 executable in my github downloads called cgminer-2.6.2a of course
https://github.com/kanoi/cgminer/downloads

For anyone who didn't realise, it's just the executable file to put in place of 'cgminer'
Nothing else needs changing
First get and extract the full binary release from ckolivas and then copy my file in place of 'cgminer'

No Problems so far on my GPU or 2xIcarus
Note the BFL comment above by ckolivas Smiley
For me it works perfectly after a 60 second hiccup at the start.

The same configure options as cvolivas' binary version
In case anyone was wondering:
CFLAGS="-O2 -W -Wall" ./configure --enable-icarus --enable-bitforce --enable-ztex --enable-modminer --enable-scrypt

Edit: and I have also added a WinXP cgminer-2.6.2a.exe

This ONLY has BFL + ICA (as below) thus it doesn't need a computer with OpenCL on it
It doesn't automatically identify the BFL or ICA you need to specify them with -S
CFLAGS="-O2 -W -Wall" ./configure --enable-icarus --enable-bitforce

You will most likely also need the windowsdlls.zip file there in my downloads since my *.dll might be slightly different to ckolivas
Last time I made a windows exe for someone they needed my versions of the *.dll so you may need them also

Pool: https://kano.is - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
dave3
Sr. Member
****
Offline Offline

Activity: 344
Merit: 250


View Profile
August 03, 2012, 02:41:58 AM
 #6347

As you can see from the log, it is the "Comms error" that actually fixes it.
cgminer flushes the data when it gets a comms error.

Looks like the temperature command timeout is the issue.
It may be that during a throttle, the device doesn't respond and thus the temperature command can wait up to even 10 seconds or more before it will reply (e.g. a throttle to half speed)

Hmm these devices are so badly designed it's not funny (that is by BFL design - to hang the device while it throttles)
I'm guessing, but it looks to be the problem the code needs to handle ...

... allowing it to hang for 10 seconds or more and cgminer must think that is OK when you ask for the temperature ...
That code solution seems so bad .......

I suppose it's possible it's throttling, but I doubt it.  It's been rainy and cool here lately.

I've got UltraVNC running on the cgminer system since it's in another room, and I seem to notice it just as I switch over to the UltraVNC client window (which was already running) as it "wakes up."
kano
Legendary
*
Offline Offline

Activity: 4466
Merit: 1798


Linux since 1997 RedHat 4


View Profile
August 03, 2012, 02:47:58 AM
 #6348

As you can see from the log, it is the "Comms error" that actually fixes it.
cgminer flushes the data when it gets a comms error.

Looks like the temperature command timeout is the issue.
It may be that during a throttle, the device doesn't respond and thus the temperature command can wait up to even 10 seconds or more before it will reply (e.g. a throttle to half speed)

Hmm these devices are so badly designed it's not funny (that is by BFL design - to hang the device while it throttles)
I'm guessing, but it looks to be the problem the code needs to handle ...

... allowing it to hang for 10 seconds or more and cgminer must think that is OK when you ask for the temperature ...
That code solution seems so bad .......

I suppose it's possible it's throttling, but I doubt it.  It's been rainy and cool here lately.

I've got UltraVNC running on the cgminer system since it's in another room, and I seem to notice it just as I switch over to the UltraVNC client window (which was already running) as it "wakes up."

Hmm, then in your case, that sounds like an OS issue delaying the BFL->cgminer reply while it handles the switch
So that's a 'how long is a piece of string' problem regarding timeouts since the OS could decide for whatever memory/CPU/Disk reason to continue to delay it for seconds or even more ...

Anyway, try 2.6.2 and see if it still happens

Pool: https://kano.is - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
dave3
Sr. Member
****
Offline Offline

Activity: 344
Merit: 250


View Profile
August 03, 2012, 03:04:43 AM
 #6349

Hmm, then in your case, that sounds like an OS issue delaying the BFL->cgminer reply while it handles the switch
So that's a 'how long is a piece of string' problem regarding timeouts since the OS could decide for whatever memory/CPU/Disk reason to continue to delay it for seconds or even more ...

Anyway, try 2.6.2 and see if it still happens

Thanks.  I just compiled 2.6.2 and it's running now.
420
Hero Member
*****
Offline Offline

Activity: 756
Merit: 500



View Profile
August 03, 2012, 05:17:50 AM
 #6350

What does the intensity flag mean

is lower more intense? higher more intense? doesn't seem right as 8, 9 seem more mhash, lower or higher intensity gave me lower mhash

Donations: 1JVhKjUKSjBd7fPXQJsBs5P3Yphk38AqPr - TIPS
the hacks, the hacks, secure your bits!
Vorksholk
Legendary
*
Offline Offline

Activity: 1713
Merit: 1029



View Profile WWW
August 03, 2012, 05:37:20 AM
 #6351

What does the intensity flag mean

is lower more intense? higher more intense? doesn't seem right as 8, 9 seem more mhash, lower or higher intensity gave me lower mhash

Higher intensity means higher hash rate in general. Intensity is basically how aggressive the miner is on the card.

VeriBlock: Securing The World's Blockchains Using Bitcoin
https://veriblock.org
420
Hero Member
*****
Offline Offline

Activity: 756
Merit: 500



View Profile
August 03, 2012, 06:15:00 AM
 #6352

What does the intensity flag mean

is lower more intense? higher more intense? doesn't seem right as 8, 9 seem more mhash, lower or higher intensity gave me lower mhash

Higher intensity means higher hash rate in general. Intensity is basically how aggressive the miner is on the card.

im getting driver crash at only 750mhz 1.085 v, 725/1.05v is the stock 5970

Donations: 1JVhKjUKSjBd7fPXQJsBs5P3Yphk38AqPr - TIPS
the hacks, the hacks, secure your bits!
rampone
Sr. Member
****
Offline Offline

Activity: 339
Merit: 250


dafq is goin on


View Profile
August 03, 2012, 06:25:03 AM
 #6353

somethings wrong with 2.6.2 and bfls, feels like they run slower somehow, im off to 2.6.1 again

http://virwox.com - Bitcoins via CCard, Skrill, paysafe, paypal & SEPA
Convert your bitcoin into spendable fiat money in less than 2 days. Poker Players use this method to avoid "unnecessary trouble" with the country they live in ... PM me for details. +1:naz86,b4nana,tinua,smart1986,fhh
kano
Legendary
*
Offline Offline

Activity: 4466
Merit: 1798


Linux since 1997 RedHat 4


View Profile
August 03, 2012, 06:31:05 AM
 #6354

somethings wrong with 2.6.2 and bfls, feels like they run slower somehow, im off to 2.6.1 again
What did you feel that with ...

Pool: https://kano.is - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
BlackPrapor
Hero Member
*****
Offline Offline

Activity: 626
Merit: 504



View Profile WWW
August 03, 2012, 06:47:22 AM
 #6355

somethings wrong with 2.6.2 and bfls, feels like they run slower somehow, im off to 2.6.1 again
What did you feel that with ...
I believe that place is called buttocks  Grin

There is no place like 127.0.0.1
In blockchain we trust
420
Hero Member
*****
Offline Offline

Activity: 756
Merit: 500



View Profile
August 03, 2012, 07:42:52 AM
 #6356

I'm assuming the version, 2.3.1, 2.6.1, 2.6.2 has no bearing on hashrate for my 5000 series (3x5970's)

thats' what it seems through my limited testing of just opening, watching the hash sort of stabilize within 10 minutes

but jumps up and down sometimes, 1900->2000, to 2122. 100mhash jumps, now just 1995 to 222 then to 2063, 1800, 1750, not switching pools or anything
not running anything else on this PC, not using dynamic clock change, only fan change to desired temperature

Donations: 1JVhKjUKSjBd7fPXQJsBs5P3Yphk38AqPr - TIPS
the hacks, the hacks, secure your bits!
sharky112065
Sr. Member
****
Offline Offline

Activity: 383
Merit: 250



View Profile
August 03, 2012, 07:48:37 AM
 #6357

somethings wrong with 2.6.2 and bfls, feels like they run slower somehow, im off to 2.6.1 again
What did you feel that with ...
I believe that place is called buttocks  Grin

Thank you; made me laugh.  Grin

Donations welcome: 12KaKtrK52iQjPdtsJq7fJ7smC32tXWbWr
rav3n_pl
Legendary
*
Offline Offline

Activity: 1361
Merit: 1003


Don`t panic! Organize!


View Profile WWW
August 03, 2012, 12:23:34 PM
 #6358

2.6.1 vs 2.6.2 on same settings:
.1 = ~150MH
.2 = ~100MH
copied config file and running from same command line options.
Win7 64
Rolling back to 2.6.1 for now, something is changed in intesity?

1Rav3nkMayCijuhzcYemMiPYsvcaiwHni  Bitcoin stuff on my OneDrive
My RPC CoinControl for any coin https://bitcointalk.org/index.php?topic=929954
Some stuff on https://github.com/Rav3nPL/
-ck (OP)
Legendary
*
Offline Offline

Activity: 4088
Merit: 1631


Ruu \o/


View Profile WWW
August 03, 2012, 12:27:01 PM
 #6359

2.6.1 vs 2.6.2 on same settings:
.1 = ~150MH
.2 = ~100MH
copied config file and running from same command line options.
Win7 64
Rolling back to 2.6.1 for now, something is changed in intesity?

Nope, nothing changed in that code.

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

Activity: 1361
Merit: 1003


Don`t panic! Organize!


View Profile WWW
August 03, 2012, 12:33:06 PM
 #6360

oops, looks like something eat me one core and miner not have enough priority.
It works same now Smiley
Sorry!

It (miner) is not very cpu hungry (taking about 1-2%), but better to rise it priority to "above normal".

1Rav3nkMayCijuhzcYemMiPYsvcaiwHni  Bitcoin stuff on my OneDrive
My RPC CoinControl for any coin https://bitcointalk.org/index.php?topic=929954
Some stuff on https://github.com/Rav3nPL/
Pages: « 1 ... 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 [318] 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 ... 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!