Author

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

legendary
Activity: 4592
Merit: 1851
Linux since 1997 RedHat 4
Im not entirely sure this belongs here; a feature requests for the API?

I would like to have password on the API. Its kinda dangerous to leave it open, someone could turn off the fans or whatever, and its extremely useful to have access to the API remotely

I would also like the possibility to manage pools via the API. Add, delete, enabe/disable pools. If thats already possible, then perhaps I misread the documentation.

I someone can make this happen, Ill toss you a coin.
Pool management (enable/disable) is now in 2.3.0 and "addpool" is up for a pull request:
https://github.com/ckolivas/cgminer/pull/137
So that may be there some time too if ckolivas is happy with the code change.
"delete" (as mentioned before) can be implemented by using "disable" (so you don't lose your pool stats) which has almost the same effect except you don't gain a new empty pool slot of the current maximum of 32 pools

Edit: addpool is in 2.3.1 (API says version 1.3 - version goes up when new commands added to an official release)
legendary
Activity: 1795
Merit: 1208
This is not OK.
Hmmmm, I seem to be finding it to be quitting after a few hours :/
I'm not logging anything, so maybe I'll add that and see what happens.
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
LOL if this hasn't been a polarising release, nothing has. This is one of the reasons it got a minor version upgrade.

Thousands of hours of coding can't guarantee that I can work around every combination of AMD fail that's possible, and trust me, there are more than anyone can imagine. I'll get there in the end...
full member
Activity: 174
Merit: 100
I don't agree with the poster above.. For me 2.3.0-1 has best performance since a long time.
Using the automatic settings (Diablo kernel) I am winning 10-20MHash per card.
Good work!!  Grin
full member
Activity: 373
Merit: 100
@bitlane:
Try specifying "-k phatk" to get the old performance back.
(Also, the ability to read back 2-3 pages might be considered a prerequisite to using a forum...)
sr. member
Activity: 462
Merit: 250
I heart thebaron
WOW....I mean, W T F ?

I just upgraded 5 rigs from 2.2.7 to 2.3.0 and lost speed across the board.

Not that I don't want to read 216 pages to find my answer, but I have NEVER had this problem and upgrade to the latest version every time it's uploaded (Win 7 x64).

All my 5xxx cards are running Cat12.1/2.1 SDK, my 6xxx cards are running Cat12.1/2.4 SDK (CONFIRMED). All cards run (and always have run) static I=8.

What just happened ?

ie. None of my cards will maintain 99% load, all 80%-ish....WTF ?....All 5830's = 10+ MH/s slower, U=less also. Overall speed/U = much slower/less, 6xxx series cards are jumping around (LOAD) and are running like ass.
**6950's (12.1/2.4 SDK) lost 80 MH/s each .......5830's (12.1/2.1 SDK) lost 15 MH/s each .......6870's (12.1/2.4 SDK) lost 40+ MH/s each.... Compared to SAME EVERYTHING using 2.2.7 package and FRESH/NEW BINS.....

Can anyone elaborate ?

I deleted EVERYTHING, created ALL NEW BINS. All I saved were my BAT files, that I was FORCED TO ADD IP Range to for my monitoring/control app  Cry

Drivers/SDKs were reinstalled last week when I decided to optimize everything and go to get rid of my CPU bug(s) by using 12.1 CAT.

The above results were with cgminer-2.3.0-1-win32.zip.
I am going back to 2.2.7
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
ck, was the change in 2.3.0-1 for phatk?  I assumed it was, but noticed the kernel version number didn't change (unless I eyed it wrong), if my observation is correct, then anyone who downloaded 2.3.0 and then 2.3.0-1 would not get a new kernel if the 2.3.0(not-1) kernel was there already with the same name.
Yes, I wanted to rush out the new package to stop people from downloading the original one ASAP so I didn't even change the version number on the kernel which is bad of me I know.
hero member
Activity: 807
Merit: 500
ck, was the change in 2.3.0-1 for phatk?  I assumed it was, but noticed the kernel version number didn't change (unless I eyed it wrong), if my observation is correct, then anyone who downloaded 2.3.0 and then 2.3.0-1 would not get a new kernel if the 2.3.0(not-1) kernel was there already with the same name.
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
cgminer + diablo + p2pool = awesome  

oh, and also ANUBIS, that just makes everything pretty =)

Finally have all the control (fan, clock, etc) without losing any performance or having to fiddle with SDK versions.

Donation sent, keep up the good work.
Thanks much appreciated.  Cheesy
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
I've just tested 2.3.0 on a dual underclocked/undervolted 5870s rig and I went from 370 down to 330 MH/s per card.
Make sure you're using the slightly upgrade 2.3.0-1

If you still have a hashrate drop like that then you're doing the SDK2.6 dance. cgminer -n will tell me what openCL you're using.

ckolivas,

tomorrow I'll test it,

this is what cgminer -n says right now:

Code:
[2012-02-23 22:14:58] CL Platform 0 version: OpenCL 1.1 AMD-APP-SDK-v2.5 (793.1)

All good, you're on 2.5. You probably got the dud kernel in the first packaged release which is why I upgraded to 2.3.0-1

I'll probably release a 2.3.1 pretty soon today, reverting a few of the kernel changes that were dubious and based on what diablo and others said. I should have trusted myself  Wink
legendary
Activity: 1378
Merit: 1003
nec sine labore
I've just tested 2.3.0 on a dual underclocked/undervolted 5870s rig and I went from 370 down to 330 MH/s per card.

This is with -g 1 --submit-stale -I 6

spiccioli



Make sure you're using the slightly upgrade 2.3.0-1

If you still have a hashrate drop like that then you're doing the SDK2.6 dance. cgminer -n will tell me what openCL you're using.

ckolivas,

tomorrow I'll test it,

this is what cgminer -n says right now:

Code:
[2012-02-23 22:14:58] CL Platform 0 vendor: Advanced Micro Devices, Inc.
[2012-02-23 22:14:58] CL Platform 0 name: AMD Accelerated Parallel Processing
[2012-02-23 22:14:58] CL Platform 0 version: OpenCL 1.1 AMD-APP-SDK-v2.5 (793.1)
[2012-02-23 22:14:58] Platform 0 devices: 2
[2012-02-23 22:14:58] GPU 0 ATI Radeon HD 5800 Series hardware monitoring enabled
[2012-02-23 22:14:58] Setting GPU 0 engine clock to 830
[2012-02-23 22:14:58] Setting GPU 0 memory clock to 150
[2012-02-23 22:14:58] Setting GPU 0 voltage to 1.005
[2012-02-23 22:14:58] GPU 1 ATI Radeon HD 5800 Series hardware monitoring enabled
[2012-02-23 22:14:58] Setting GPU 1 engine clock to 830
[2012-02-23 22:14:58] Setting GPU 1 memory clock to 150
[2012-02-23 22:14:58] Setting GPU 1 voltage to 1.005
[2012-02-23 22:14:58] 2 GPU devices max detected
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
I've just tested 2.3.0 on a dual underclocked/undervolted 5870s rig and I went from 370 down to 330 MH/s per card.

This is with -g 1 --submit-stale -I 6

spiccioli



Make sure you're using the slightly upgrade 2.3.0-1

If you still have a hashrate drop like that then you're doing the SDK2.6 dance. cgminer -n will tell me what openCL you're using.
full member
Activity: 125
Merit: 100
cgminer + diablo + p2pool = awesome  

oh, and also ANUBIS, that just makes everything pretty =)

Finally have all the control (fan, clock, etc) without losing any performance or having to fiddle with SDK versions.

Donation sent, keep up the good work.
hero member
Activity: 769
Merit: 500
I've just tested 2.3.0 on a dual underclocked/undervolted 5870s rig and I went from 370 down to 330 MH/s per card.

This is with -g 1 --submit-stale -I 6

spiccioli

Are you specifiying any -k switch? You could try -k phatk, -k poclbm, -k diakgcn or -k diablo ... perhaps one of em gives good perfrmance, until Con fixes the current glitch, which seems to come from a rather small change in all kernels.

Dia
legendary
Activity: 1795
Merit: 1208
This is not OK.
Enabling / disabling pools via the API... how do we know the current state?
Presumably, status=alive tells us if we can communicate with the pool, and not that it enabled.
hero member
Activity: 807
Merit: 500
My 5830 doesn't appear to have dropped at all.  If it did, it dropped 5 MH/s from 318 to 313, but my U looks really good for now, so I doubt it was 318 before (but that's only on 380 shares, so U doesn't mean much yet, as was just discussed).  I am running 2.3.0-1 with phatk (default for cypress) -w256 -v2.  You may not be having SDK 2.6 issues, but I wish cgminer could tell which SDK a kernel was compiled with since said issues seemingly haven't gone away yet.
legendary
Activity: 1378
Merit: 1003
nec sine labore
I've just tested 2.3.0 on a dual underclocked/undervolted 5870s rig and I went from 370 down to 330 MH/s per card.

This is with -g 1 --submit-stale -I 6

spiccioli


legendary
Activity: 1795
Merit: 1208
This is not OK.
Can BFL (or more generically, FPGA) count be added to the API?

Thank yoooooou Smiley
hero member
Activity: 807
Merit: 500
ck, if you can give me a hint as to how to compile a 32-bit version on a 64-bit linux machine, I can provide cypress kernels for l4 along with l8 from SDK 2.1.
Cannot do. You can only make 32 bit kernels from running on 32 bit OS I'm afraid.
The answer I was looking for was add -m32 to CFLAGS, but that's OK, I found it.  Wink  Also, after doing that I did have to change LFLAGS to point at the 32bit version of the SDK, and this still wouldn't have worked if I didn't have all of the 32-bit libraries installed as well, so I guess the answer you should have given me was "Cross compiling isn't supported in my configure script, but you can try adding -m32 to CFLAGS, YMMV."
donator
Activity: 1218
Merit: 1079
Gerald Davis
let me put it real simple - you guys are too smart for your own good you over intellectualize everything

Let me put it simpler.  Your wrong.  Smiley

Quote
has anyone ever been watching cgminer when the pool goes hay wire (happens a lot with pools that pool hop or share selling service) and all of the sudden that 5870 that was just humming along nicely went from showing 435.5/429.3MH/s is now showing 730.3/239.2MH/s and no shares are getting through at all? ok yeah its all a function of mhash it will even out eventually but right now in that moment the only thing I care about is am I making money? because obviously the fact that now my 5870 is magically giving me 700 mhash on a single thread its costing me money and not making me any (no shares = no money)

Couple points:

1) If a pool going haywire retroactively changes your avg since start well you got a lot bigger problems.  The second number is hashrate since start it is # of hashes / elapsed time.  So after 20-30 min in it shouldn't change significantly within a few seconds.

2) That has nothing to do with intensity.  If you change intensity it will change mhashes.  It will also change shares BUT shares rate ("U:") has roughly 4 magnitudes more variance for a given time period.

So looking at share rate in the short term may mean you are simply looking at noise.

For example
start cgminer -let it run 2 minutes check U rate.
now stop cgminer
fart, yes far.
start cgminer -let it run 2 minutes check U rate.

Tada farting must affect share rate. It is entirely possible the two values will differ by 20% or more.  Farting (or lack of farting) boosts share rates 20%!  

So you seeing a major change in share rate doesn't mean anything unless you are waiting a very very very long time.  Share rate (U) really only stabilizes after 10K or so shares.  I would say 20K to 50K would be better.  So unless you are setting intensity and waiting half a day to make sure the results are valid using share rate in the short term is useless.

Of course none of this has anything to do with your original claim.
If you change intensity you should see a change in MH/s.  Period.  If you aren't then something is wrong.  If a pool goes offline and that retroactively changes your prior MH/s average (yes the second # is the average since starting) then something is wrong.  You shouldn't rely on your conclusions for anything.
Jump to: