Bitcoin Forum
November 18, 2024, 10:16:23 AM *
News: Check out the artwork 1Dq created to commemorate this forum's 15th anniversary
 
   Home   Help Search Login Register More  
Pages: « 1 ... 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 369 370 371 372 373 ... 843 »
  Print  
Author Topic: OFFICIAL CGMINER mining software thread for linux/win/osx/mips/arm/r-pi 4.11.1  (Read 5805643 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.)
Mobius
Hero Member
*****
Offline Offline

Activity: 988
Merit: 1000



View Profile
August 08, 2012, 05:17:49 AM
 #6441

is really annoying for the 7 days bug !

i wonder if possible to add auto restart feature for windows CGminer

so every 7 days it will auto restart itself !


well you should be able to with task schedule

You can also use:
--shares <arg>      Quit after mining N shares (default: unlimited)

in a loop
disclaimer201
Legendary
*
Offline Offline

Activity: 1526
Merit: 1001


View Profile
August 08, 2012, 03:15:38 PM
Last edit: August 08, 2012, 04:53:39 PM by disclaimer201
 #6442

So, is it safe to use 2.6.4 for ltc mining now? I'm on solo and one message I received among the "new block detected on network" was "rejected 040ccc8e blabla Gpu1". Do I have to worry? Should I use an older version? Total noob to cgminer. Used cgeasy to configure (Thanks! great help) to set everything for solo ltc mining.

Edit: Thanks Rav3n ------------->
rav3n_pl
Legendary
*
Offline Offline

Activity: 1361
Merit: 1003


Don`t panic! Organize!


View Profile WWW
August 08, 2012, 04:07:11 PM
 #6443

So, is it safe to use 2.6.4 for ltc mining now? I'm on solo and one message I received among the "new block detected on network" was "rejected 040ccc8e blabla Gpu1". Do I have to worry? Should I use an older version? Total noob to cgminer. Used cgeasy to configure (Thanks! great help) to set everything for solo ltc mining.
It is quite normal to get reject just after new block and/or longpool on any version.

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/
joyyen
Member
**
Offline Offline

Activity: 99
Merit: 10

MMM EXTRA - THE RIGHT STEP TOWARDS THE GOAL


View Profile WWW
August 08, 2012, 05:23:11 PM
 #6444

is really annoying for the 7 days bug !

i wonder if possible to add auto restart feature for windows CGminer

so every 7 days it will auto restart itself !


well you should be able to with task schedule

You can also use:
--shares <arg>      Quit after mining N shares (default: unlimited)

in a loop

i dont know how to use window scheduler and

--shares <arg>      Quit after mining N shares (default: unlimited) 

you mean the miner will quit after mining example : 5000 share and it will auto restart and mining again ?

[Join MMM and get up to 100% per month]
crazyates
Legendary
*
Offline Offline

Activity: 952
Merit: 1000



View Profile
August 08, 2012, 05:26:03 PM
 #6445

is really annoying for the 7 days bug !

i wonder if possible to add auto restart feature for windows CGminer

so every 7 days it will auto restart itself !


well you should be able to with task schedule

You can also use:
--shares <arg>      Quit after mining N shares (default: unlimited)

in a loop

i dont know how to use window scheduler and

--shares <arg>      Quit after mining N shares (default: unlimited) 

you mean the miner will quit after mining example : 5000 share and it will auto restart and mining again ?


You create a .bat file with a loop that runs CGMiner, and when CGMiner closes itself after 5000 shares, the loop restarts CGMiner. Lather, rinse, repeat.

Tips? 1crazy8pMqgwJ7tX7ZPZmyPwFbc6xZKM9
Previous Trade History - Sale Thread
farfie
Newbie
*
Offline Offline

Activity: 63
Merit: 0



View Profile
August 08, 2012, 09:28:05 PM
 #6446

You create a .bat file with a loop that runs CGMiner, and when CGMiner closes itself after 5000 shares, the loop restarts CGMiner. Lather, rinse, repeat.

I would be careful about this. You may want to add a TIMEOUT or use the ping technique to make sure threads are closed, and that the OS has released handles, otherwise the new cgminer instance won't properly grab them. 5 or 10 seconds should do the trick.
crazyates
Legendary
*
Offline Offline

Activity: 952
Merit: 1000



View Profile
August 08, 2012, 09:37:23 PM
 #6447

You create a .bat file with a loop that runs CGMiner, and when CGMiner closes itself after 5000 shares, the loop restarts CGMiner. Lather, rinse, repeat.

I would be careful about this. You may want to add a TIMEOUT or use the ping technique to make sure threads are closed, and that the OS has released handles, otherwise the new cgminer instance won't properly grab them. 5 or 10 seconds should do the trick.

When I did this, I added a 30 delay after startup to start, and a timeout of 10 second in the loop.

Tips? 1crazy8pMqgwJ7tX7ZPZmyPwFbc6xZKM9
Previous Trade History - Sale Thread
P_Shep
Legendary
*
Online Online

Activity: 1803
Merit: 1230


This is not OK.


View Profile
August 08, 2012, 11:22:13 PM
 #6448

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.

I've done that, get the following:

ID: BFL0   Dev Max: 0.024049   Dev Min: 0.000366   Dev Av: 0.009301
ID: BFL1   Dev Max: 15.335547   Dev Min: 0.000389   Dev Av: 0.012155
ID: BFL2   Dev Max: 15.335506   Dev Min: 3.8E-5   Dev Av: 0.011484
ID: BFL3   Dev Max: 15.33545   Dev Min: 0.00036   Dev Av: 0.027547
ID: BFL4   Dev Max: 0.02345   Dev Min: 0.00036   Dev Av: 0.009153
ID: BFL5   Dev Max: 0.023163   Dev Min: 0.000404   Dev Av: 0.008941

So I put get times immedately before and after the serial port read function inside BFgets.
Dev max is (surpisingly) the max time a read took
Dev min is (surpisingly) the min time a read took
Dev av is (surpisingly) the overall average, that is all the read times summed, then divided my the read count.

So it's pretty apparent that when the single throttles, comms just stop.
P_Shep
Legendary
*
Online Online

Activity: 1803
Merit: 1230


This is not OK.


View Profile
August 08, 2012, 11:27:53 PM
 #6449

Also, I started adding the temp to the log when a unit throttles...
I'm thinking about adding code with slows the unit a bit as it reaches it's individual throttle temp. Like waiting 500ms before sending new work or something. Maybe. Dunno.
kano
Legendary
*
Offline Offline

Activity: 4620
Merit: 1851


Linux since 1997 RedHat 4


View Profile
August 08, 2012, 11:53:57 PM
 #6450

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.

I've done that, get the following:

ID: BFL0   Dev Max: 0.024049   Dev Min: 0.000366   Dev Av: 0.009301
ID: BFL1   Dev Max: 15.335547   Dev Min: 0.000389   Dev Av: 0.012155
ID: BFL2   Dev Max: 15.335506   Dev Min: 3.8E-5   Dev Av: 0.011484
ID: BFL3   Dev Max: 15.33545   Dev Min: 0.00036   Dev Av: 0.027547
ID: BFL4   Dev Max: 0.02345   Dev Min: 0.00036   Dev Av: 0.009153
ID: BFL5   Dev Max: 0.023163   Dev Min: 0.000404   Dev Av: 0.008941

So I put get times immedately before and after the serial port read function inside BFgets.
Dev max is (surpisingly) the max time a read took
Dev min is (surpisingly) the min time a read took
Dev av is (surpisingly) the overall average, that is all the read times summed, then divided my the read count.

So it's pretty apparent that when the single throttles, comms just stop.
Ah well, then that just means BFL is full of shit as usual:
https://bitcointalk.org/index.php?topic=78256.msg885143#msg885143
During throttle, the device does respond to temperature read, status read, etc.
A new job, however, cannot be issued, as the unit will respond with 'BUSY'.

Good Luck,

Now to decide a workaround for more BFL design shit that doesn't involve simply saying "a BFL appearing dead for up to 30s is OK" ...

The MiniRig cards are ~twice this speed, and I have one person with 2xMR running 2.6.2 modified and he's had 29 comm errors out of 4,171,889 accepted shares - so no issue at all.

... sigh - I presume this crap is all due to the fscking stupid throttling design done by BFL where their hardware decides and controls the whole process rather than allowing the software to control it (or know about it)

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
rjk
Sr. Member
****
Offline Offline

Activity: 448
Merit: 250


1ngldh


View Profile
August 09, 2012, 12:55:04 AM
 #6451

If it means anything, I think BFL has specified that a throttle period lasts 15 seconds.

Mining Rig Extraordinaire - the Trenton BPX6806 18-slot PCIe backplane [PICS] Dead project is dead, all hail the coming of the mighty ASIC!
kano
Legendary
*
Offline Offline

Activity: 4620
Merit: 1851


Linux since 1997 RedHat 4


View Profile
August 09, 2012, 12:58:35 AM
 #6452

Also, I started adding the temp to the log when a unit throttles...
I'm thinking about adding code with slows the unit a bit as it reaches it's individual throttle temp. Like waiting 500ms before sending new work or something. Maybe. Dunno.
When my 2nd FPGA "died" in my BFL I did exactly this.
The result was useless in my case.
Adjusting it up and down (I used a getenv() to set it) appeared to make no difference at all.
(I set it to delay getenv() ms before sending new work - I tried from 100 up to about 1000)
I got the impression that the idle time was doing more bad than good

Though the death was probably something else in it crapping out since:
In my case the final fix was stupid anyway Smiley
I installed the 880 bitstream ... and it's been fine ... 2 weeks and counting ...

tl;dr story follows Smiley
I got it 4-May, but working OK from 5-May then got problems 11-Jul ... as the weather got colder ... it started to throttle and fail Tongue
(It's now the coldest part of winter here)
Then it would only mine on one FPGA.
I'd never touched the firmware coz that meant moving the stupid thing to my kids windows computer and plugging it in there to use the POS EasyMiner program.
So I did this (moved it upstairs to me instead of down in my cold basement garage) and EasyMiner said it was no good (running a test) ... but cgminer would still mine on one FPGA.

I did find a few times that if I pulled the power on it completely it would start up mining normally at 825MH/s for a while and in one case this lasted 2 days (21-Jul to 23-Jul)
After being annoyed at it for 2 weeks (code changes, power cycles etc) I decided to try kill it by putting in the 880 bitstream (26-Jul)
(sending from Aus->USA is not a cheap thing to do, so while it still partially worked I didn't want to do that)
With the 880 bitstream it's been fine ever since, upstairs here next to me, under a chair, reporting 10C higher Tongue
(air coming out is only slightly warm, not hot)
My BFL is the version with the new heatsink but only 1 fan on top so not exceptionally loud

Yeah my opinion of the throttling hardware/design is ... not good Smiley

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
kano
Legendary
*
Offline Offline

Activity: 4620
Merit: 1851


Linux since 1997 RedHat 4


View Profile
August 09, 2012, 12:59:52 AM
 #6453

If it means anything, I think BFL has specified that a throttle period lasts 15 seconds.
You got a link/reference?
Coz that one from BFL-Engineer ... is from BFL-Engineer Tongue

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
P_Shep
Legendary
*
Online Online

Activity: 1803
Merit: 1230


This is not OK.


View Profile
August 09, 2012, 01:05:32 AM
 #6454

If it means anything, I think BFL has specified that a throttle period lasts 15 seconds.
You got a link/reference?
Coz that one from BFL-Engineer ... is from BFL-Engineer Tongue

15.3355, in fact Smiley
kano
Legendary
*
Offline Offline

Activity: 4620
Merit: 1851


Linux since 1997 RedHat 4


View Profile
August 09, 2012, 01:06:31 AM
 #6455

If it means anything, I think BFL has specified that a throttle period lasts 15 seconds.
You got a link/reference?
Coz that one from BFL-Engineer ... is from BFL-Engineer Tongue

15.3355, in fact Smiley
Yeah that seems to suggest it also.
But was there a 'BUSY' reply as BFL-Engineer said there is?

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
rjk
Sr. Member
****
Offline Offline

Activity: 448
Merit: 250


1ngldh


View Profile
August 09, 2012, 01:11:56 AM
 #6456

If it means anything, I think BFL has specified that a throttle period lasts 15 seconds.
You got a link/reference?
Coz that one from BFL-Engineer ... is from BFL-Engineer Tongue
Sorry yes, https://bitcointalk.org/index.php?topic=92409.msg1018768#msg1018768
Not returning "BUSY" as specified is lame.

Mining Rig Extraordinaire - the Trenton BPX6806 18-slot PCIe backplane [PICS] Dead project is dead, all hail the coming of the mighty ASIC!
P_Shep
Legendary
*
Online Online

Activity: 1803
Merit: 1230


This is not OK.


View Profile
August 09, 2012, 01:17:34 AM
 #6457

If it means anything, I think BFL has specified that a throttle period lasts 15 seconds.
You got a link/reference?
Coz that one from BFL-Engineer ... is from BFL-Engineer Tongue

15.3355, in fact Smiley
Yeah that seems to suggest it also.
But was there a 'BUSY' reply as BFL-Engineer said there is?

I don't recall every seeing a 'busy', but then I've not looked for it.
I'll have another poke around...
dave3
Sr. Member
****
Offline Offline

Activity: 344
Merit: 250


View Profile
August 09, 2012, 05:14:16 AM
 #6458

I compiled 2.6.4 for windows and I've had it running for over 24 hours so far without any problems.

Code:
 cgminer version 2.6.4 - Started: [2012-08-08 12:21:53]
--------------------------------------------------------------------------------
 (5s):1629.0 (avg):1613.4 Mh/s | Q:4759  A:33041  R:567  HW:0  E:694%  U:22.2/m
 TQ: 0  ST: 4  SS: 0  DW: 1333  NB: 174  LW: 35434  GF: 46  RF: 0
 Connected to http://us2.eclipsemc.com:8337 with LP as user ---
 Block: 000006fde06dc9cde7ab56000892379d...  Started: [13:01:47]
--------------------------------------------------------------------------------
 [P]ool management [S]ettings [D]isplay options [Q]uit
 BFL 0:  55.9C         | 811.0/806.7Mh/s | A:16567 R:283 HW:0 U:11.12/m
 BFL 1:  57.4C         | 811.0/806.7Mh/s | A:16476 R:284 HW:0 U:11.06/m
--------------------------------------------------------------------------------
-ck (OP)
Legendary
*
Offline Offline

Activity: 4298
Merit: 1645


Ruu \o/


View Profile WWW
August 09, 2012, 08:55:10 AM
 #6459

I compiled 2.6.4 for windows and I've had it running for over 24 hours so far without any problems.
At last  Cheesy
Thanks  Smiley

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

Activity: 826
Merit: 500



View Profile
August 09, 2012, 09:14:53 AM
 #6460

if someone hasn't announced this cgminer 2.6.4 works great with windows 8 pro RTM build 9200 x64.

I'm testing right now to see if its stable long term.

I'm using driver version drivers 9.00-120612a unofficial beta.

Getting around 7% better Mh/s than win 7 using same configs on a 5770 card.

Anyone working in IT that hasn't used WIN 8 its going to be a nightmare doing end user training.

Pages: « 1 ... 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 369 370 371 372 373 ... 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!