cuz0882
|
|
March 21, 2012, 08:59:14 AM |
|
Is it efficient to use balance or rotation mode? I would like to get text alerts from a pool but I don't like putting on my hashing power there. Balance seems like a good option if LP still works correctly. Does it matter how many pools are used?
|
|
|
|
jake262144
|
|
March 21, 2012, 09:43:10 AM Last edit: March 21, 2012, 09:54:47 AM by jake262144 |
|
... /usr/bin/screen -dmS cgminer /opt/miners/cgminer/cgminer -D --verbose -Q 2 --api-listen --auto-fan --temp-target 75 -I 8 -o http://x http://x 2> "/root/run.`date +%Y%m%d%H%M%S`.$$.log" ... The logfile was created, but is empty... -rw-r--r-- 1 root root 0 Mar 20 16:20 run.20120320162057.3911.log -rw-r--r-- 1 root root 0 Mar 20 16:33 run.20120320163321.3713.log -rw-r--r-- 1 root root 0 Mar 20 23:04 run.20120320230402.8150.log Obviously, something is wrong since 2> and 2>> are the official ways to log cgminer activity. Do you know what the mistake is? You're galloping headfirst, launching screen and cgminer in a single step. Care to take a guess which of the two subroutines you're logging the output of? Gotta slow down a bit there, cowboy
|
|
|
|
boozer
|
|
March 21, 2012, 12:41:49 PM |
|
Obviously, something is wrong since 2> and 2>> are the official ways to log cgminer activity. Do you know what the mistake is? You're galloping headfirst, launching screen and cgminer in a single step. Care to take a guess which of the two subroutines you're logging the output of? Gotta slow down a bit there, cowboy Thanks Jake! Surprisingly, that started logging That is in a file for a startup script... How do I start cgminer attached to screen x in two lines?
|
|
|
|
kano
Legendary
Offline
Activity: 4620
Merit: 1851
Linux since 1997 RedHat 4
|
|
March 21, 2012, 01:03:51 PM |
|
Obviously, something is wrong since 2> and 2>> are the official ways to log cgminer activity. Do you know what the mistake is? You're galloping headfirst, launching screen and cgminer in a single step. Care to take a guess which of the two subroutines you're logging the output of? Gotta slow down a bit there, cowboy Thanks Jake! Surprisingly, that started logging That is in a file for a startup script... How do I start cgminer attached to screen x in two lines? My cgminer.sh looks like this: #!/bin/sh # now="`date +%Y%m%d%H%M%S`" # ./cgminer-231j -S /dev/ttyUSB0 -S /dev/ttyUSB1 -Q 4 --api-port 4028 --api-listen --api-allow W:127.0.0.1,W:192.168.7.0/24 --api-description Subaru -I 9 --submit-stale --auto-fan --auto-gpu --gpu-engine 900 --gpu-memclock 775 --gpu-memdiff -125 --temp-target 70 "$@" 2> run.$now.$$.log Just in case you wanted a hint You must of course also The "$@" means I can add more arguments - like pool configurations files e.g. "./cgminer.sh -c pool.json" Edit: so in case it wasn't obvious /usr/bin/screen -dmS cgminer /opt/miners/cgminer/cgminer.sh and of course cgminer.sh would have all your normal options before the "$@"
|
|
|
|
boozer
|
|
March 21, 2012, 05:03:58 PM |
|
I ran at stock gpu clocks for 14 minutes and had restarts on half (3) of my gpus during this short time, increasing ram used from 175 meg to 260 meg. Before I stopped it, I checked GPU status and only GPU 5 had its "Last Initialized" time updated.... From this screen, all other gpus appeared to never have restarted. However, going through the log, I can see that gpu 0, 2, and 5 restarted. The entire log file is about 1 meg... 100k zipped. I can email it or post it somewhere if you want to look at the whole thing. root@skynet:~# cat run.20120321105206.19993.log | grep idle [2012-03-21 10:55:22] Device 0 idle for more than 60 seconds, GPU 0 declared SICK! [2012-03-21 10:56:52] Device 2 idle for more than 60 seconds, GPU 2 declared SICK! [2012-03-21 10:57:11] Device 0 idle for more than 60 seconds, GPU 0 declared SICK! [2012-03-21 11:03:52] Device 5 idle for more than 60 seconds, GPU 5 declared SICK! root@skynet:~# cat run.20120321105206.19993.log | grep restart [2012-03-21 10:55:22] Attempting to restart GPU [2012-03-21 10:55:23] Thread 0 restarted [2012-03-21 10:55:24] Thread 1 restarted [2012-03-21 10:56:52] Attempting to restart GPU [2012-03-21 10:56:53] Thread 4 restarted [2012-03-21 10:56:54] Thread 5 restarted [2012-03-21 10:57:11] Attempting to restart GPU [2012-03-21 10:57:12] Thread 0 restarted [2012-03-21 10:57:13] Thread 1 restarted [2012-03-21 11:03:52] Attempting to restart GPU [2012-03-21 11:03:53] Thread 10 restarted [2012-03-21 11:03:54] Thread 11 restarted
GPU 0: 331.0 / 283.9 Mh/s | A:54 R:0 HW:0 U:3.90/m I:8 73.5 C F: 60% (3630 RPM) E: 725 MHz M: 240 Mhz V: 1.050V A: 99% P: 0% Last initialised: [2012-03-21 10:52:09] Intensity: 8 Thread 0: 165.6 Mh/s Enabled ALIVE Thread 1: 165.0 Mh/s Enabled ALIVE
GPU 1: 329.8 / 335.7 Mh/s | A:62 R:0 HW:0 U:4.48/m I:8 71.5 C F: 60% (3630 RPM) E: 725 MHz M: 240 Mhz V: 1.050V A: 99% P: 0% Last initialised: [2012-03-21 10:52:12] Intensity: 8 Thread 2: 164.4 Mh/s Enabled ALIVE Thread 3: 165.3 Mh/s Enabled ALIVE
GPU 2: 328.8 / 307.9 Mh/s | A:60 R:0 HW:0 U:4.34/m I:8 73.0 C F: 54% (3329 RPM) E: 725 MHz M: 240 Mhz V: 1.050V A: 99% P: 0% Last initialised: [2012-03-21 10:52:14] Intensity: 8 Thread 4: 163.9 Mh/s Enabled ALIVE Thread 5: 165.3 Mh/s Enabled ALIVE
GPU 3: 329.7 / 334.3 Mh/s | A:60 R:0 HW:0 U:4.34/m I:8 74.0 C F: 54% (3326 RPM) E: 725 MHz M: 240 Mhz V: 1.050V A: 99% P: 0% Last initialised: [2012-03-21 10:52:16] Intensity: 8 Thread 6: 164.9 Mh/s Enabled ALIVE Thread 7: 164.9 Mh/s Enabled ALIVE
GPU 4: 335.3 / 336.7 Mh/s | A:61 R:0 HW:0 U:4.41/m I:8 73.0 C F: 79% (4378 RPM) E: 735 MHz M: 240 Mhz V: 1.050V A: 99% P: 0% Last initialised: [2012-03-21 10:52:19] Intensity: 8 Thread 8: 168.0 Mh/s Enabled ALIVE Thread 9: 165.6 Mh/s Enabled ALIVE
GPU 5: 334.1 / 309.8 Mh/s | A:61 R:0 HW:0 U:4.41/m I:8 74.5 C F: 79% (4378 RPM) E: 735 MHz M: 240 Mhz V: 1.050V A: 99% P: 0% Last initialised: [2012-03-21 11:03:54] Intensity: 8 Thread 10: 177.9 Mh/s Enabled ALIVE Thread 11: 158.3 Mh/s Enabled ALIVE
|
|
|
|
boozer
|
|
March 21, 2012, 10:16:50 PM |
|
As a follow up... I decided to try a different pool aside from gpumax. I've ran stable with overclocks for about 5 hours now. Seems like some problem with cgminer and gpumax, but only on my 5970 rigs. I have the same version of cgminer running on the same linux version on my two 7970 rigs and it seems to work fine.... so it appears to be isolated to my dual gpu 5970 rigs...
|
|
|
|
kano
Legendary
Offline
Activity: 4620
Merit: 1851
Linux since 1997 RedHat 4
|
|
March 21, 2012, 10:49:23 PM |
|
Then also the simple check about ADL being enabled - you do see GPU Temp/RPM as you said before? If you don't have network API access enabled, but do have just --api-listen (like your command line shows) then on each machine: echo -n "config" | nc -4 127.0.0.1 4028 ; echo ... and compare all 3 computers. I'm actually only asking this coz it seems strange that the GPUs are running amok and it really does sound similar to ADL not working. But of course you have already said it is working but ... well ... that command is another way to verify it. I guess the other possibility is that when gpumax does let the cards go idle from a getwork perspective of having nothing to do, something in cgminer could be getting confused about the cards status ... but that is just a guess since (as I've mentioned before) I've not looked closely at the internal Driver/ADL code that handles the card status/problems (and I got that idle bit wrong before as ckolivas pointed out) If I get a chance today to add storing some of that info and making it available in the API I may know a bit more about it then
|
|
|
|
boozer
|
|
March 21, 2012, 11:21:25 PM |
|
I am supposed to put some switch before the number 4? # echo -n "config" | nc -4 127.0.0.1 4028 ; echo nc: invalid option -- '4' nc -h for help
|
|
|
|
kano
Legendary
Offline
Activity: 4620
Merit: 1851
Linux since 1997 RedHat 4
|
|
March 21, 2012, 11:24:20 PM |
|
I am supposed to put some switch before the number 4? # echo -n "config" | nc -4 127.0.0.1 4028 ; echo nc: invalid option -- '4' nc -h for help Well you can ignore the -4 option (remove it) - but I guess you must have a really old version of nc? What does "uname -r" say on that computer? (and what OS version is it?)
|
|
|
|
-ck (OP)
Legendary
Offline
Activity: 4284
Merit: 1645
Ruu \o/
|
|
March 22, 2012, 06:00:56 AM |
|
As a follow up... I decided to try a different pool aside from gpumax. I've ran stable with overclocks for about 5 hours now. Seems like some problem with cgminer and gpumax, but only on my 5970 rigs. I have the same version of cgminer running on the same linux version on my two 7970 rigs and it seems to work fine.... so it appears to be isolated to my dual gpu 5970 rigs...
Auto fan control was known broken in the last release of cgminer for 5970 and this was causing problems for people on 5970s with spontaneous restarts due to unexpected overheats. I don't think I released a newer release version with the fix for it. If you download and build the latest git tarball and build from that you can get that fix. Alternatively, disabling auto fan control should have the same effect.
|
Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel 2% Fee Solo mining at solo.ckpool.org -ck
|
|
|
|
jake262144
|
|
March 22, 2012, 11:45:25 AM Last edit: March 22, 2012, 01:36:46 PM by jake262144 |
|
Hi, I'm sure I am doing something really stupid but I can't get my 3x 7970s over 200 MHash/S each. Running 12.2 driver and the newest version of cgminer. Is there anything extra I need to do for 7970? I used cgminner for all my other cards. Thanks.
Wow, with that much information I can only suggest that you change ANYTHING, starting with cgminer kernel configuration and ending with the whole OS EDIT::In case you missed it, a lot of GCN-related info can be found here and here.
|
|
|
|
kano
Legendary
Offline
Activity: 4620
Merit: 1851
Linux since 1997 RedHat 4
|
|
March 22, 2012, 01:29:13 PM |
|
poclbm should give you the best performance on a 7970 if using 12.2 and 2.6 SDK If you are using something else - change to 12.2/2.6 (Installing 12.2 includes the 2.6 SDK) To select the poclbm kernel you add: -k poclbm
|
|
|
|
|
Raize
Donator
Legendary
Offline
Activity: 1419
Merit: 1015
|
|
March 22, 2012, 03:04:25 PM |
|
What is "Cubby"?
|
|
|
|
jake262144
|
|
March 22, 2012, 03:21:15 PM |
|
What is "Cubby"?
A piece of software by LogMeInMartona, if you got the executable from Con's homepage, you should be safe.
|
|
|
|
kano
Legendary
Offline
Activity: 4620
Merit: 1851
Linux since 1997 RedHat 4
|
|
March 22, 2012, 04:44:25 PM |
|
I am supposed to put some switch before the number 4? # echo -n "config" | nc -4 127.0.0.1 4028 ; echo nc: invalid option -- '4' nc -h for help Quoting you again I've put a few commits in my git: https://github.com/kanoi/cgminer/that add a simple device history that is accessible via the new API command 'notify' Compiling my git reports itself as 2.3.1k You can see it with echo -n notify | nc 127.0.0.1 4028 ; echo The base code change adds a few extra fields and counters to the device structure (that are all reported by the API) Including: per device: last well time, last not well time, last not well reason, and counters for each of the reasons meaning how many times they have happened (e.g. Device Over Heat count, Device Thermal Cutoff count among others)
|
|
|
|
P_Shep
Legendary
Offline
Activity: 1803
Merit: 1230
This is not OK.
|
|
March 22, 2012, 06:08:17 PM |
|
More stuff to add to anubis
|
|
|
|
e21
Member
Offline
Activity: 105
Merit: 10
|
|
March 23, 2012, 01:17:50 AM Last edit: March 23, 2012, 01:52:11 AM by e21 |
|
poclbm should give you the best performance on a 7970 if using 12.2 and 2.6 SDK If you are using something else - change to 12.2/2.6 (Installing 12.2 includes the 2.6 SDK) To select the poclbm kernel you add: -k poclbm Anybody mind giving me some tips on optimizing my config file? Using 11.12 on Win7 64, with HD 6950 as GPU 0 and 1, and HD 7970 as GPU 2 and 3. So far, using the config below, I get about 400 MH/s from my unlocked 6950s at 920MHz, and about 620MHs from my 7970s at 1100MHz. 400MHs is all I expect from the 6950s, but I feel like I should be able to get 650MH/s from the 7970s, although mine might be running a little slow due to the older driver. Any help is appreciated! Using cgminer 2.3.1-2 Also, does anyone know why cgminer uses 810 watts while DiabloMiner draws only 780? I tried changing intensity down to 7 and that didn't help. { "pools" : [ { "url" : " http://usx.eclipsemc.com:8337", "user" : "_", "pass" : "1" } ], "intensity" : "d,8,8,8,8", "kernel" : "diablo,diablo,diakgcn,diakgcn", "auto-fan" : false, "auto-gpu" : false, "expiry" : "120", "failover-only" : true, "gpu-threads" : "3", "log" : "5", "queue" : "1", "retry-pause" : "5", "scan-time" : "60", "temp-hysteresis" : "3", "worksize" : "128,128,256,256", "shares" : "0", "kernel-path" : "/usr/local/bin" }
|
|
|
|
ummas
|
|
March 23, 2012, 01:47:13 AM |
|
Is there a place where i can download old versions of cgminer ? I dunno what i`m doing wrong, but new 2.3.1 ver. works slower than my old 2.0.6 on my rigs. Mostly i use 5870/5970. I`m using just oc parameters, no auto GPU or Auto fan. I`m planning to buy bigger MB and put somme 7970 into play, but i`m loosing aprox. 150-200Mhash on software... :/ i`ll make somme proof for that - cgminer woriking at least for 2h.
|
|
|
|
|