Bitcoin Forum
July 16, 2018, 02:58:58 PM *
News: Latest stable version of Bitcoin Core: 0.16.1  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: « 1 ... 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 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 ... 847 »
  Print  
Author Topic: OFFICIAL CGMINER mining software thread for linux/win/osx/mips/arm/r-pi 4.10.0  (Read 5756837 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.
kano
Legendary
*
Offline Offline

Activity: 2506
Merit: 1043


Linux since 1997 RedHat 4


View Profile
September 04, 2012, 10:52:29 PM
 #6961

Yeah I mentioned that at the start also
https://bitcointalk.org/index.php?topic=28402.msg1158935#msg1158935

Though I did add the edit back then saying if there was a bug it would need following up just in case I was wrong.

I guess that comment about --auto-gpu --auto-fan has been missed each time?

Pool: https://kano.is Here on Bitcointalk: Forum BTC: 1KanoPb8cKYqNrswjaA8cRDk4FAS9eDMLU
FreeNode IRC: irc.freenode.net channel #kano.is Majority developer of the ckpool code
Help keep Bitcoin secure by mining on pools with full block verification on all blocks - and NO empty blocks!
1531753138
Hero Member
*
Offline Offline

Posts: 1531753138

View Profile Personal Message (Offline)

Ignore
1531753138
Reply with quote  #2

1531753138
Report to moderator
The World's Betting Exchange

Bet with play money. Win real Bitcoin. 5BTC Prize Fund for World Cup 2018.

Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1531753138
Hero Member
*
Offline Offline

Posts: 1531753138

View Profile Personal Message (Offline)

Ignore
1531753138
Reply with quote  #2

1531753138
Report to moderator
1531753138
Hero Member
*
Offline Offline

Posts: 1531753138

View Profile Personal Message (Offline)

Ignore
1531753138
Reply with quote  #2

1531753138
Report to moderator
mdude77
Legendary
*
Offline Offline

Activity: 1540
Merit: 1001



View Profile
September 04, 2012, 11:28:27 PM
 #6962

We're not being sarcastic. You need the --auto-gpu and --auto-fan options, and you've been told this many times! In the config, it would look like this:

Code:
"auto-gpu" : true,
"auto-fan" : true,

Alright, twice someone has said to use parms, this is the first time someone said to add it to the config file.  I'll adjust it now.

What this means is the lines in the config file, written by cgminer, are misleading, as they don't do a thing unless you tweak it.  Which is fine..

Quote
My grandfather has a saying: When 3 people tell you you're drunk, you better sit down.

If this isn't sarcasm, and "another case of operator error", what is?

M

I mine at Kano's Pool because it pays the best and is completely transparent!  Come join me!
mdude77
Legendary
*
Offline Offline

Activity: 1540
Merit: 1001



View Profile
September 04, 2012, 11:31:55 PM
 #6963

Yeah I mentioned that at the start also
https://bitcointalk.org/index.php?topic=28402.msg1158935#msg1158935

Though I did add the edit back then saying if there was a bug it would need following up just in case I was wrong.

I guess that comment about --auto-gpu --auto-fan has been missed each time?

No, I saw it, and I already changed my command line to include it.  Someone else, might have been you, to add the cutoff, which was already in the config.

What was tripping me up was the lines in the config that I didn't put there, and someone telling me to add the temp cutoff line.

Thanks for the assistance.

M

EDIT: It occurred to me after I wrote this that the auto-gpu and auto-fan lines might have been in the config file to begin with, and I might have removed them.  That of course would lead to this situation.  I don't recall doing so, but that doesn't mean it didn't happen.

I mine at Kano's Pool because it pays the best and is completely transparent!  Come join me!
os2sam
Legendary
*
Offline Offline

Activity: 2464
Merit: 1001


Think for yourself


View Profile
September 05, 2012, 12:10:08 AM
 #6964

Yeah I mentioned that at the start also
https://bitcointalk.org/index.php?topic=28402.msg1158935#msg1158935

Though I did add the edit back then saying if there was a bug it would need following up just in case I was wrong.

I guess that comment about --auto-gpu --auto-fan has been missed each time?

No, I saw it, and I already changed my command line to include it.  Someone else, might have been you, to add the cutoff, which was already in the config.

What was tripping me up was the lines in the config that I didn't put there, and someone telling me to add the temp cutoff line.

Thanks for the assistance.

M

EDIT: It occurred to me after I wrote this that the auto-gpu and auto-fan lines might have been in the config file to begin with, and I might have removed them.  That of course would lead to this situation.  I don't recall doing so, but that doesn't mean it didn't happen.

This little exercise in frustration is why I still use all command line options.

Of course I also prefer a config.sys to a registry any day too Smiley
Sam

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
mdude77
Legendary
*
Offline Offline

Activity: 1540
Merit: 1001



View Profile
September 05, 2012, 12:46:23 AM
 #6965

No, I saw it, and I already changed my command line to include it.  Someone else, might have been you, to add the cutoff, which was already in the config.

What was tripping me up was the lines in the config that I didn't put there, and someone telling me to add the temp cutoff line.

Thanks for the assistance.

M

EDIT: It occurred to me after I wrote this that the auto-gpu and auto-fan lines might have been in the config file to begin with, and I might have removed them.  That of course would lead to this situation.  I don't recall doing so, but that doesn't mean it didn't happen.

Alright, I just got this error that I've never seen before.  I've seen others report this, I never have until I added those two lines:

Code:
[2012-09-04 20:43:11] Rejected 36800659.0478c728 GPU 0 pool 0 (Stale or unknown
work)
[2012-09-04 20:43:17] Rejected 710d0f98.46c1d6fc GPU 0 pool 0 (Stale or unknown
work)
[2012-09-04 20:43:19] Rejected 1617f4a0.ca588d24 GPU 0 pool 0 (Stale or unknown
work)
[2012-09-04 20:43:20] Rejected d857c0d0.b392795b GPU 0 pool 0 (Stale or unknown
work)
[2012-09-04 20:43:20] Rejected 0af37905.5c08917f GPU 0 pool 0 (Stale or unknown
work)
[2012-09-04 20:43:23] Rejected 9b8e310c.5e5363de GPU 0 pool 0 (Stale or unknown
work)
[2012-09-04 20:43:23] Rejected 2186400e.50964116 GPU 0 pool 0 (Stale or unknown
work)
[2012-09-04 20:43:33] Rejected 80a6c9cb.0acea6f5 GPU 0 pool 0 (Stale or unknown
work)
[2012-09-04 20:43:41] Rejected 6a9eaba7.fe0df6c3 GPU 0 pool 0 (Stale or unknown
work)
[2012-09-04 20:43:43] Rejected ef982720.75f0d021 GPU 0 pool 0 (Stale or unknown
work)
[2012-09-04 20:43:46] Rejected 22eb21ec.e426caee GPU 0 pool 0 (Stale or unknown
work)
[2012-09-04 20:43:53] Rejected 2aa476d7.db9f2003 GPU 0 pool 0 (Stale or unknown
work)

M

I mine at Kano's Pool because it pays the best and is completely transparent!  Come join me!
crazyates
Legendary
*
Offline Offline

Activity: 952
Merit: 1000



View Profile
September 05, 2012, 01:09:22 AM
 #6966

No, I saw it, and I already changed my command line to include it.  Someone else, might have been you, to add the cutoff, which was already in the config.

What was tripping me up was the lines in the config that I didn't put there, and someone telling me to add the temp cutoff line.

Thanks for the assistance.

M

EDIT: It occurred to me after I wrote this that the auto-gpu and auto-fan lines might have been in the config file to begin with, and I might have removed them.  That of course would lead to this situation.  I don't recall doing so, but that doesn't mean it didn't happen.

Alright, I just got this error that I've never seen before.  I've seen others report this, I never have until I added those two lines:

Code:
[2012-09-04 20:43:11] Rejected 36800659.0478c728 GPU 0 pool 0 (Stale or unknown
work)
[2012-09-04 20:43:17] Rejected 710d0f98.46c1d6fc GPU 0 pool 0 (Stale or unknown
work)
[2012-09-04 20:43:19] Rejected 1617f4a0.ca588d24 GPU 0 pool 0 (Stale or unknown
work)
[2012-09-04 20:43:20] Rejected d857c0d0.b392795b GPU 0 pool 0 (Stale or unknown
work)
[2012-09-04 20:43:20] Rejected 0af37905.5c08917f GPU 0 pool 0 (Stale or unknown
work)
[2012-09-04 20:43:23] Rejected 9b8e310c.5e5363de GPU 0 pool 0 (Stale or unknown
work)
[2012-09-04 20:43:23] Rejected 2186400e.50964116 GPU 0 pool 0 (Stale or unknown
work)
[2012-09-04 20:43:33] Rejected 80a6c9cb.0acea6f5 GPU 0 pool 0 (Stale or unknown
work)
[2012-09-04 20:43:41] Rejected 6a9eaba7.fe0df6c3 GPU 0 pool 0 (Stale or unknown
work)
[2012-09-04 20:43:43] Rejected ef982720.75f0d021 GPU 0 pool 0 (Stale or unknown
work)
[2012-09-04 20:43:46] Rejected 22eb21ec.e426caee GPU 0 pool 0 (Stale or unknown
work)
[2012-09-04 20:43:53] Rejected 2aa476d7.db9f2003 GPU 0 pool 0 (Stale or unknown
work)

M

--auto-gpu and --auto-fan don't have anything to do with stales. Perhaps you missed a LP? Happens to me every once in a while.

Tips? 1crazy8pMqgwJ7tX7ZPZmyPwFbc6xZKM9
Previous Trade History - Sale Thread
kano
Legendary
*
Offline Offline

Activity: 2506
Merit: 1043


Linux since 1997 RedHat 4


View Profile
September 05, 2012, 01:11:49 AM
 #6967

...
M
Completely unrelated to using those two options.
We'd need to know about the cgminer version you are using (certain older versions have known issues) and the pool being used and other such information.
Also, that is well known to happen with pools like ABC and GPUMax caused by the pool.

Pool: https://kano.is Here on Bitcointalk: Forum BTC: 1KanoPb8cKYqNrswjaA8cRDk4FAS9eDMLU
FreeNode IRC: irc.freenode.net channel #kano.is Majority developer of the ckpool code
Help keep Bitcoin secure by mining on pools with full block verification on all blocks - and NO empty blocks!
mdude77
Legendary
*
Offline Offline

Activity: 1540
Merit: 1001



View Profile
September 05, 2012, 01:20:25 AM
 #6968

...
M
Completely unrelated to using those two options.
We'd need to know about the cgminer version you are using (certain older versions have known issues) and the pool being used and other such information.
Also, that is well known to happen with pools like ABC and GPUMax caused by the pool.

Using 2.7.4 on ozcoin.

M

I mine at Kano's Pool because it pays the best and is completely transparent!  Come join me!
kano
Legendary
*
Offline Offline

Activity: 2506
Merit: 1043


Linux since 1997 RedHat 4


View Profile
September 05, 2012, 02:32:17 AM
 #6969

...
M
Completely unrelated to using those two options.
We'd need to know about the cgminer version you are using (certain older versions have known issues) and the pool being used and other such information.
Also, that is well known to happen with pools like ABC and GPUMax caused by the pool.

Using 2.7.4 on ozcoin.

M
2 things:
1) Is that once or over and over again?
Things like a dynamic IP address change, or an OzCoin server DNS switch, or a pool restart can cause that.
2) Try 2.7.5 Smiley

Pool: https://kano.is Here on Bitcointalk: Forum BTC: 1KanoPb8cKYqNrswjaA8cRDk4FAS9eDMLU
FreeNode IRC: irc.freenode.net channel #kano.is Majority developer of the ckpool code
Help keep Bitcoin secure by mining on pools with full block verification on all blocks - and NO empty blocks!
mdude77
Legendary
*
Offline Offline

Activity: 1540
Merit: 1001



View Profile
September 05, 2012, 03:08:11 AM
 #6970

1) Is that once or over and over again?
Things like a dynamic IP address change, or an OzCoin server DNS switch, or a pool restart can cause that.
2) Try 2.7.5 Smiley

Endlessly, a page of it before I restarted it.

If it happens again I'll upgrade.. I like stability.

Tx,

M

I mine at Kano's Pool because it pays the best and is completely transparent!  Come join me!
Subo1977
Sr. Member
****
Offline Offline

Activity: 344
Merit: 250


Flixxo - Watch, Share, Earn!


View Profile
September 05, 2012, 10:11:48 AM
 #6971

It there a Plan to implemet queue and Threats in the API?

X       ▄▄█████████▄▄
    ▄██▀▀         ▀▀██▄
  ▄██▀              ▀██▄
 ▄██     ██▄▄          ██▄
▄██      █████▄▄        ██▄
██       ████████▄▄      ██
██       ███████████▄    ██
██       ██████████▀     ██
▀██      ███████▀       ██▀
 ▀██     ████▀         ██▀
  ▀██▄   █▀          ▄██▀
    ▀██▄▄         ▄▄██▀
       ▀▀█████████▀▀
.flixxo    X▄████████████████████▄
██████████████████████
██████████████████████
████████████▀▀███████
█████▀████░░░░░░▄████
█████░░░░░░░░░░▄█████
█████▄░░░░░░░░░░██████
██████░░░░░░░░░███████
███████░░░░░░▄████████
████▄▄░░░░▄▄██████████
██████████████████████
██████████████████████
▀████████████████████▀
▄████████████████████▄
██████████████████████
█████████▀█▀██████████
██████▀▀▀▀▀████████
██████▄▄░░▄▄▄░░███████
████████░░███░░███████
████████░░░░░░▀███████
████████░░███▄░░██████
██████▀▀░░▀▀▀░░░██████
██████▄▄▄▄▄▄███████
█████████▄█▄██████████
██████████████████████
▀████████████████████▀
X[[]]X
kano
Legendary
*
Offline Offline

Activity: 2506
Merit: 1043


Linux since 1997 RedHat 4


View Profile
September 05, 2012, 10:18:38 PM
 #6972

It there a Plan to implemet queue and Threats in the API?
At the moment the socket queue is 100 but a single thread.
What are you doing with the API that needs more than that? Smiley

Pool: https://kano.is Here on Bitcointalk: Forum BTC: 1KanoPb8cKYqNrswjaA8cRDk4FAS9eDMLU
FreeNode IRC: irc.freenode.net channel #kano.is Majority developer of the ckpool code
Help keep Bitcoin secure by mining on pools with full block verification on all blocks - and NO empty blocks!
Subo1977
Sr. Member
****
Offline Offline

Activity: 344
Merit: 250


Flixxo - Watch, Share, Earn!


View Profile
September 06, 2012, 06:12:48 AM
 #6973

It there a Plan to implemet queue and Threats in the API?
At the moment the socket queue is 100 but a single thread.
What are you doing with the API that needs more than that? Smiley

Ok i miswrote it.
I dont wont Threat and queue for the API. I want to Set These options over the API like Intensity.

If i Mine with a normal Pool the Standard Setting for these Parameters are ok.

If i Switch to p2pool over the API in an Script, i want to change the Queue And threats too.

X       ▄▄█████████▄▄
    ▄██▀▀         ▀▀██▄
  ▄██▀              ▀██▄
 ▄██     ██▄▄          ██▄
▄██      █████▄▄        ██▄
██       ████████▄▄      ██
██       ███████████▄    ██
██       ██████████▀     ██
▀██      ███████▀       ██▀
 ▀██     ████▀         ██▀
  ▀██▄   █▀          ▄██▀
    ▀██▄▄         ▄▄██▀
       ▀▀█████████▀▀
.flixxo    X▄████████████████████▄
██████████████████████
██████████████████████
████████████▀▀███████
█████▀████░░░░░░▄████
█████░░░░░░░░░░▄█████
█████▄░░░░░░░░░░██████
██████░░░░░░░░░███████
███████░░░░░░▄████████
████▄▄░░░░▄▄██████████
██████████████████████
██████████████████████
▀████████████████████▀
▄████████████████████▄
██████████████████████
█████████▀█▀██████████
██████▀▀▀▀▀████████
██████▄▄░░▄▄▄░░███████
████████░░███░░███████
████████░░░░░░▀███████
████████░░███▄░░██████
██████▀▀░░▀▀▀░░░██████
██████▄▄▄▄▄▄███████
█████████▄█▄██████████
██████████████████████
▀████████████████████▀
X[[]]X
steveme
Jr. Member
*
Offline Offline

Activity: 37
Merit: 0


View Profile
September 06, 2012, 08:31:33 AM
 #6974

Or if anyone is interested in additions after 2.7.5 Smiley

The master branch in my git has a rather large number of commits I've worked on in the last 24 hours (and a couple before that)
The list is: debug control in the API, generic HW error handling for all devices except ztex, Diff1 information, BFL identify via a led flash, BFL throttle counter in 'notify' and a few other bit and pieces.

The pull request is here: https://github.com/ckolivas/cgminer/pull/310 that shows them all.
That is simply my master branch - and each change I've done I keep adding to that pull request.

Anyone interested in any of those additions feel free to compile my master and let me know if you have any problems.
I haven't changed the ztex code coz I don't have any ztex hardware and the original code does some weird shit dealing with HW errors - if someone has a ztex and has time to visit IRC I could add some changes in another branch and get them to test it also.

Thanks for anyone who can test this.

Edit: of course this is what I am running on my 2 rigs - BFL, and ICA+GPU

I built it last night on 32bit Ubuntu 12.04. It's been running for 8hrs and is showing a modest amount of HW errors for my CM1 board.

Looks good Smiley
kano
Legendary
*
Offline Offline

Activity: 2506
Merit: 1043


Linux since 1997 RedHat 4


View Profile
September 06, 2012, 09:14:12 AM
 #6975

It there a Plan to implemet queue and Threats in the API?
At the moment the socket queue is 100 but a single thread.
What are you doing with the API that needs more than that? Smiley

Ok i miswrote it.
I dont wont Threat and queue for the API. I want to Set These options over the API like Intensity.

If i Mine with a normal Pool the Standard Setting for these Parameters are ok.

If i Switch to p2pool over the API in an Script, i want to change the Queue And threats too.
Ah OK - Queue, ScanTime and Expiry are certainly no issue to add.
(It currently shows ScanTime, but doesn't let you change it - easy enough to do that)
I'll add them to my list of stuff to be done some time in the future ... or you can prompt me to do it sooner ... Smiley

Adjusting the number of threads ... not in the near future ... cgminer doesn't let you do that through the screen, so doing it via the API might mean a change in the scanhash thread control code ... I'd have to look closer at it ...

Pool: https://kano.is Here on Bitcointalk: Forum BTC: 1KanoPb8cKYqNrswjaA8cRDk4FAS9eDMLU
FreeNode IRC: irc.freenode.net channel #kano.is Majority developer of the ckpool code
Help keep Bitcoin secure by mining on pools with full block verification on all blocks - and NO empty blocks!
kano
Legendary
*
Offline Offline

Activity: 2506
Merit: 1043


Linux since 1997 RedHat 4


View Profile
September 06, 2012, 09:14:56 AM
 #6976

Or if anyone is interested in additions after 2.7.5 Smiley

The master branch in my git has a rather large number of commits I've worked on in the last 24 hours (and a couple before that)
The list is: debug control in the API, generic HW error handling for all devices except ztex, Diff1 information, BFL identify via a led flash, BFL throttle counter in 'notify' and a few other bit and pieces.

The pull request is here: https://github.com/ckolivas/cgminer/pull/310 that shows them all.
That is simply my master branch - and each change I've done I keep adding to that pull request.

Anyone interested in any of those additions feel free to compile my master and let me know if you have any problems.
I haven't changed the ztex code coz I don't have any ztex hardware and the original code does some weird shit dealing with HW errors - if someone has a ztex and has time to visit IRC I could add some changes in another branch and get them to test it also.

Thanks for anyone who can test this.

Edit: of course this is what I am running on my 2 rigs - BFL, and ICA+GPU

I built it last night on 32bit Ubuntu 12.04. It's been running for 8hrs and is showing a modest amount of HW errors for my CM1 board.

Looks good Smiley
Thanks! - let me know if you find any problems.

Pool: https://kano.is Here on Bitcointalk: Forum BTC: 1KanoPb8cKYqNrswjaA8cRDk4FAS9eDMLU
FreeNode IRC: irc.freenode.net channel #kano.is Majority developer of the ckpool code
Help keep Bitcoin secure by mining on pools with full block verification on all blocks - and NO empty blocks!
Askit2
Hero Member
*****
Offline Offline

Activity: 986
Merit: 500


DIV - Your "Virtual Life" Secured and Decentralize


View Profile
September 06, 2012, 10:25:58 PM
 #6977

It looks like I can adjust cgminer to fix my problem of ~10% stales. If eclipsemc is working well I can run a scan time of about 90. If I use gpumax to pass work to gpumax I need to have scan time set to 30 or less. it does give me around 8 stales in a row I would assume But I hacked it so that I wouldn't get kicked off gpumax by using eclipsemc's diff10 server prior to remembering this setting. I get 1-2 stales. Granted all the accepted are less frequent too. My average stales on that pool went from `9.8 to 9.5 now that isn't great but my overall submission rate is far lower too so the average would take a while to drop. I really didn't want to restart but it would give me numbers earlier.
For a serious question. Would compliling the API C file just require using minGW? I don't really know how to use the MinGW compiler at all so this would likely be a bad idea.

          ▄▄
        ▄█▀▀█▄
      ▄█▀ ▄▄ ▀█▄
      ▀ ▄████▄ ▀
   ▄▀ ▄ ▀████▀ ▄ ▀▄
 ▄▀ ▄███▄ ▀▀ ▄███▄ ▀▄
█  ███████  ███████  █
 ▀▄ ▀███▀ ▄▄ ▀███▀ ▄▀

   ▀▄ ▀ ▄████▄ ▀ ▄▀
      ▄ ▀████▀ ▄
      ▀█▄ ▀▀ ▄█▀
        ▀█▄▄█▀
          ▀▀
███████████████████████████████████████████████████████████████████
██████▀▀▀▀▀▀▀▀▀▀▀██████████▀▀▀▀▀████▀▀▀▀▀█████▀▀▀▀█████▀▀▀▀▀███████
██████            ▀████████     ████     █████    █████     ███████
██████     ▄▄▄▄▄    ▀██████     █████    ████      ████    ████████
██████     ██████▄    █████     █████    ▀██▀  ▄▄  ▀██▀    ████████
██████     ███████    █████     ██████    ██   ██   ██    █████████
██████     ███████    █████     ██████    ██   ██   ██    █████████
██████     ███████    █████     ██████     █   ██   █     █████████
██████     █████▀    ██████     ███████       ████       ██████████
██████     ▀▀▀▀▀    ▄██████     ████████     ██████     ███████████
██████            ▄████████     ████████     ██████     ███████████
██████▄▄▄▄▄▄▄▄▄▄▄██████████▄▄▄▄▄█████████▄▄▄▄██████▄▄▄▄████████████
███████████████████████████████████████████████████████████████████
.DIWtoken.com.
▄██████████████████▄
███       ▀███████
███       █████████
███       █████████
███       █████████
███              ██
███   ▄▄▄▄▄▄▄▄   ███
███   ▄▄▄▄▄▄▄▄   ███
███              ███
███▄▄▄▄▄▄▄▄▄▄▄▄▄▄███
██████████████████▀

▄██████████████████▄
███████████▀ ███████
█████████▀   ███████
███████▀     ██▀ ███
███ ▀▀       █▄▄████
███          █▀▀▀▀██
███ ▄▄       ███████
██████▄     █▄ ▀███
█████████▄   ███▄███
███████████▄ ███████
▀██████████████████▀

▄██████████████████▄
████████████████████
███████████████▀▀ ██
█████████▀▀     ███
████▀▀     ▄█▀   ███
███▄    ▄██      ███
█████████▀      ▄██
█████████▄     ████
█████████████▄ ▄████
████████████████████
▀██████████████████▀
......SECURITY DECENTRALIZED...
kano
Legendary
*
Offline Offline

Activity: 2506
Merit: 1043


Linux since 1997 RedHat 4


View Profile
September 07, 2012, 03:11:04 AM
 #6978

It looks like I can adjust cgminer to fix my problem of ~10% stales. If eclipsemc is working well I can run a scan time of about 90. If I use gpumax to pass work to gpumax I need to have scan time set to 30 or less. it does give me around 8 stales in a row I would assume But I hacked it so that I wouldn't get kicked off gpumax by using eclipsemc's diff10 server prior to remembering this setting. I get 1-2 stales. Granted all the accepted are less frequent too. My average stales on that pool went from `9.8 to 9.5 now that isn't great but my overall submission rate is far lower too so the average would take a while to drop. I really didn't want to restart but it would give me numbers earlier.
For a serious question. Would compliling the API C file just require using minGW? I don't really know how to use the MinGW compiler at all so this would likely be a bad idea.
There are quite a few steps to compiling cgminer on windows ... all documented in windows-build.txt that Sharky wrote that comes with cgminer.

Pool: https://kano.is Here on Bitcointalk: Forum BTC: 1KanoPb8cKYqNrswjaA8cRDk4FAS9eDMLU
FreeNode IRC: irc.freenode.net channel #kano.is Majority developer of the ckpool code
Help keep Bitcoin secure by mining on pools with full block verification on all blocks - and NO empty blocks!
Askit2
Hero Member
*****
Offline Offline

Activity: 986
Merit: 500


DIV - Your "Virtual Life" Secured and Decentralize


View Profile
September 07, 2012, 06:19:35 AM
 #6979

It looks like I can adjust cgminer to fix my problem of ~10% stales. If eclipsemc is working well I can run a scan time of about 90. If I use gpumax to pass work to gpumax I need to have scan time set to 30 or less. it does give me around 8 stales in a row I would assume But I hacked it so that I wouldn't get kicked off gpumax by using eclipsemc's diff10 server prior to remembering this setting. I get 1-2 stales. Granted all the accepted are less frequent too. My average stales on that pool went from `9.8 to 9.5 now that isn't great but my overall submission rate is far lower too so the average would take a while to drop. I really didn't want to restart but it would give me numbers earlier.
For a serious question. Would compliling the API C file just require using minGW? I don't really know how to use the MinGW compiler at all so this would likely be a bad idea.
There are quite a few steps to compiling cgminer on windows ... all documented in windows-build.txt that Sharky wrote that comes with cgminer.
So I assume I already have it compiled then. I had hoped by the API readme that I could use some sort of executable to change things. So I either setup php on a computer or my router to get that kind of privelaged access. Apparently the file is API-example.c.

          ▄▄
        ▄█▀▀█▄
      ▄█▀ ▄▄ ▀█▄
      ▀ ▄████▄ ▀
   ▄▀ ▄ ▀████▀ ▄ ▀▄
 ▄▀ ▄███▄ ▀▀ ▄███▄ ▀▄
█  ███████  ███████  █
 ▀▄ ▀███▀ ▄▄ ▀███▀ ▄▀

   ▀▄ ▀ ▄████▄ ▀ ▄▀
      ▄ ▀████▀ ▄
      ▀█▄ ▀▀ ▄█▀
        ▀█▄▄█▀
          ▀▀
███████████████████████████████████████████████████████████████████
██████▀▀▀▀▀▀▀▀▀▀▀██████████▀▀▀▀▀████▀▀▀▀▀█████▀▀▀▀█████▀▀▀▀▀███████
██████            ▀████████     ████     █████    █████     ███████
██████     ▄▄▄▄▄    ▀██████     █████    ████      ████    ████████
██████     ██████▄    █████     █████    ▀██▀  ▄▄  ▀██▀    ████████
██████     ███████    █████     ██████    ██   ██   ██    █████████
██████     ███████    █████     ██████    ██   ██   ██    █████████
██████     ███████    █████     ██████     █   ██   █     █████████
██████     █████▀    ██████     ███████       ████       ██████████
██████     ▀▀▀▀▀    ▄██████     ████████     ██████     ███████████
██████            ▄████████     ████████     ██████     ███████████
██████▄▄▄▄▄▄▄▄▄▄▄██████████▄▄▄▄▄█████████▄▄▄▄██████▄▄▄▄████████████
███████████████████████████████████████████████████████████████████
.DIWtoken.com.
▄██████████████████▄
███       ▀███████
███       █████████
███       █████████
███       █████████
███              ██
███   ▄▄▄▄▄▄▄▄   ███
███   ▄▄▄▄▄▄▄▄   ███
███              ███
███▄▄▄▄▄▄▄▄▄▄▄▄▄▄███
██████████████████▀

▄██████████████████▄
███████████▀ ███████
█████████▀   ███████
███████▀     ██▀ ███
███ ▀▀       █▄▄████
███          █▀▀▀▀██
███ ▄▄       ███████
██████▄     █▄ ▀███
█████████▄   ███▄███
███████████▄ ███████
▀██████████████████▀

▄██████████████████▄
████████████████████
███████████████▀▀ ██
█████████▀▀     ███
████▀▀     ▄█▀   ███
███▄    ▄██      ███
█████████▀      ▄██
█████████▄     ████
█████████████▄ ▄████
████████████████████
▀██████████████████▀
......SECURITY DECENTRALIZED...
kano
Legendary
*
Offline Offline

Activity: 2506
Merit: 1043


Linux since 1997 RedHat 4


View Profile
September 07, 2012, 08:32:13 AM
 #6980

It looks like I can adjust cgminer to fix my problem of ~10% stales. If eclipsemc is working well I can run a scan time of about 90. If I use gpumax to pass work to gpumax I need to have scan time set to 30 or less. it does give me around 8 stales in a row I would assume But I hacked it so that I wouldn't get kicked off gpumax by using eclipsemc's diff10 server prior to remembering this setting. I get 1-2 stales. Granted all the accepted are less frequent too. My average stales on that pool went from `9.8 to 9.5 now that isn't great but my overall submission rate is far lower too so the average would take a while to drop. I really didn't want to restart but it would give me numbers earlier.
For a serious question. Would compliling the API C file just require using minGW? I don't really know how to use the MinGW compiler at all so this would likely be a bad idea.
There are quite a few steps to compiling cgminer on windows ... all documented in windows-build.txt that Sharky wrote that comes with cgminer.
So I assume I already have it compiled then. I had hoped by the API readme that I could use some sort of executable to change things. So I either setup php on a computer or my router to get that kind of privelaged access. Apparently the file is API-example.c.
Ah OK.

The api-example.c is one of 4 ways I provided with cgminer to access the API.
It has a comment at the top about how to compile it (that Xiangfu put there)

The 4 are:
1) api-example.c <- this is just a program to send commands to the cgminer API and get replies back in text/json.
2) API.java/API.class <- same as above written in Java (so you just need to have Java on the computer - no compiling needed)
3) api-example.php <- same as above again but written in PHP, so you need PHP on the computer to use it
4) miner.php <- a complete web page (that requires minor or no configuration) to display the status of 1 or more cgminers ... using a web server

Of course on linux there's also
5) Use nc/ncat/netcat to send commands to the API e.g. echo -n summary | nc 127.0.0.1 4028 ; echo

Of those, only miner.php is a complete tool for viewing the API data, while the rest can supply any API data in text dump (or JSON) format that you then need to do something with if you want it to look 'pretty'

To make it simplest for you - use API.class instead of compiling api-example.c - both do exactly the same thing and API.class just needs java installed www.java.com
e.g.
java API summary
java API config 192.168.0.177
java API coin 192.168.0.217 4029

Pool: https://kano.is Here on Bitcointalk: Forum BTC: 1KanoPb8cKYqNrswjaA8cRDk4FAS9eDMLU
FreeNode IRC: irc.freenode.net channel #kano.is Majority developer of the ckpool code
Help keep Bitcoin secure by mining on pools with full block verification on all blocks - and NO empty blocks!
Pages: « 1 ... 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 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 ... 847 »
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!