I want to use CGWatcher, but I find that I get a much lower hashrate when I start cgminer from CGWatcher than from a batch file.
Example batch file:
ECHO This is "GPU mining.bat".
setx GPU_MAX_ALLOC_PERCENT 100
setx GPU_USE_SYNC_OBJECTS 1
cgminer --config mdl.conf
pause
exit===============
Example config file = mdl.conf:
{
"pools" : [
{ "url" : "stratm+tcp://middlecoin.com:3333",
"user" : "redacted",
"pass" : "redacted"
},
{ "url" : "stratum+tcp://ltc.give-me-coins.com:3334",
"user" : "redacted",
"pass" : "redacted"
}
],
"usb" : ":0",
"scrypt" : true,
"gpu-platform" : "1",
"thread-concurrency" : "21712",
"auto-fan" : true,
"auto-gpu" : true,
"gpu-engine" : "900-1150",
"temp-target" : "80",
"temp-overheat" : "90",
"temp-cutoff" : "95","intensity" : "13",
"worksize" : "256",
"api-listen" : true,
"api-allow" : "W: 127.0.0.1"
}
============
(The same problem also happens with a different config using a single pool.)
I am using cgminer v. 3.6.6, CGWatcher 1.3.3.2, Windows 7 Pro 64 bit SP 1. When cgminer is already running and I start up CGWatcher, it monitors okay and does not affect the hash rate. When starting from the batch file, both cgminer and CGWatcher report a hash rate around 560 Kh/s. When starting or restarting from CGWatcher, I usually get 5 to 20 Kh/s, although once I got in the 450 range.
I hate to report the same problem someone else did, but in a comment at http://manotechnology.blogspot.com/p/cgwatcher.html, Tomáš Bräuer on August 14, 2013, reported his rate dropping from around 800 Kh/s to 620 Kh/s under the same circumstances. Unfortunately, for some reason I can't load the next page of comments from that website to see what he was told.
One oddity is that when monitoring, CGWatcher reports:
[12/9/2013 4:35:05 PM] -- Begin CGWatcher v1.3.3.2 Process -------------------------------------------------------
[12/9/2013 4:35:09 PM] Running miner detected: CGMiner using "NEW Fastcoin" profile.
[12/9/2013 4:35:09 PM] Active profile is "NEW Fastcoin"
[12/9/2013 4:35:09 PM] CGMiner instance found.
[12/9/2013 4:35:09 PM] The current running miner's profile is "NEW Fastcoin".
[12/9/2013 4:35:10 PM] Monitoring is turned on at 30 second intervals.
====================
. . . and "NEW Fastcoin" profile points to a different pool than the one cgminer is using.
After collecting the log above, I paused and then resumed mining and it came up with the Fastcoin config, running at a 10 Kh/s rate. I then checked the "Show debug log entries" box, paused and restarted cgminer, and the new rate is about 430 Kh/s (vs over 500 when starting from the batch file).
The whole log now reads as follows:
[12/9/2013 4:35:05 PM] -- Begin CGWatcher v1.3.3.2 Process -------------------------------------------------------
[12/9/2013 4:35:05 PM] [d] OpenCL.Initialize Error 5: Unable to get device info for device 490231200
[12/9/2013 4:35:06 PM] [d] WER DontShowUI value exists (1) and was set to 1 (disabled).
[12/9/2013 4:35:08 PM] [d] 2 miner instances found, 2 ignored.
[12/9/2013 4:35:09 PM] Running miner detected: CGMiner using "NEW Fastcoin" profile.
[12/9/2013 4:35:09 PM] [d] Miner.IsProcessAlive(1476) returns True. [First try, process is alive.] (CPID1476/CMPID=0/CBPID=0)
[12/9/2013 4:35:09 PM] Active profile is "NEW Fastcoin"
[12/9/2013 4:35:09 PM] CGMiner instance found.
[12/9/2013 4:35:09 PM] The current running miner's profile is "NEW Fastcoin".
[12/9/2013 4:35:09 PM] [d] Coins.Refresh complete, 54 coin(s) present.
[12/9/2013 4:35:10 PM] Monitoring is turned on at 30 second intervals.
[12/9/2013 4:48:53 PM] User clicked Pause Mining button for CGMiner with full API access. Attempting to stop...
[12/9/2013 4:48:53 PM] [d] Miner.StopMining called: Miner=C:\gpu miner\cgminer.exe;ProcessID=1476 (True);BatchProcessID=0 (False);Config=C:\gpu miner\fst.conf;Arguments=--config "C:\gpu miner\fst.conf";HasFullAPIAccess=True;KillOnReadOnlyAccess=True;IsBatCmdFile=False;ProcessID=1476;.
[12/9/2013 4:48:56 PM] CGMiner stopped successfully.
[12/9/2013 4:48:56 PM] Mining paused successfully.
[12/9/2013 4:48:57 PM] [d] 1 miner instances found, 1 ignored.
[12/9/2013 4:48:58 PM] [d] Process 6928 ignored: Unable to match to a profile or communicate with on port 4028.
[12/9/2013 4:48:58 PM] User clicked Start Mining button. Attempting to start miner...
[12/9/2013 4:48:58 PM] [d] Miner.StartMining called. [Profile=NEW Fastcoin;MinerFile=C:\gpu miner\cgminer.exe;MinerFileUsed=C:\gpu miner\cgminer.exe;MinerExecutable=C:\gpu miner\cgminer.exe;Config=C:\gpu miner\temp.conf (C:\gpu miner\fst.conf);Arguments=--config "C:\gpu miner\temp.conf";Anticipated Port=4028;Used Port=4028;IsBatCmd=False;BatCmdPath=C:\gpu miner\cgminer.exe (C:\gpu miner\cgminer.exe);LastKnownInstanceCount=0/1]
[12/9/2013 4:48:59 PM] [d] Miner.IsProcessAlive(8116) returns True. [First try, process is alive.] (CPID8116/CMPID=8116/CBPID=0)
[12/9/2013 4:48:59 PM] [d] Waiting for CGMiner to initialize API. Process 8116 alive=True, minerid=8116.
[12/9/2013 4:49:00 PM] [d] Watch for miner, expected process is 8116 (alive).
[12/9/2013 4:49:00 PM] [d] CGMiner process is running using ProcessID 8116, expecting port 4028.
[12/9/2013 4:49:01 PM] [d] CGMiner running but without API access... waiting to check again.
[12/9/2013 4:49:04 PM] [d] CGMiner running but without API access... waiting to check again.
[12/9/2013 4:49:06 PM] [d] CGMiner running and API initialized on port 4028, process matched to profile NEW Fastcoin.
[12/9/2013 4:49:06 PM] [d] Finish wait for miner to start, process is 8116 (alive).
[12/9/2013 4:49:06 PM] CGMiner started successfully.
[12/9/2013 4:50:00 PM] User clicked Pause Mining button for CGMiner with full API access. Attempting to stop...
[12/9/2013 4:50:00 PM] [d] Miner.StopMining called: Miner=C:\gpu miner\cgminer.exe;ProcessID=8116 (True);BatchProcessID=0 (False);Config=C:\gpu miner\temp.conf;Arguments=--config "C:\gpu miner\fst.conf";HasFullAPIAccess=True;KillOnReadOnlyAccess=True;IsBatCmdFile=False;ProcessID=8116;.
[12/9/2013 4:50:03 PM] CGMiner stopped successfully.
[12/9/2013 4:50:03 PM] Mining paused successfully.
[12/9/2013 4:50:03 PM] [d] 1 miner instances found, 1 ignored.
[12/9/2013 4:50:04 PM] User clicked Start Mining button. Attempting to start miner...
[12/9/2013 4:50:04 PM] [d] Miner.IsProcessAlive(8116) returns False. [First try, test process is nothing. ex: Process with an Id of 8116 is not running.] (CPID0/CMPID=0/CBPID=0)
[12/9/2013 4:50:04 PM] [d] Miner.StartMining called. [Profile=NEW Fastcoin;MinerFile=C:\gpu miner\cgminer.exe;MinerFileUsed=C:\gpu miner\cgminer.exe;MinerExecutable=C:\gpu miner\cgminer.exe;Config=C:\gpu miner\temp.conf (C:\gpu miner\fst.conf);Arguments=--config "C:\gpu miner\temp.conf";Anticipated Port=4028;Used Port=4028;IsBatCmd=False;BatCmdPath=C:\gpu miner\cgminer.exe (C:\gpu miner\cgminer.exe);LastKnownInstanceCount=0/1]
[12/9/2013 4:50:05 PM] [d] Miner.IsProcessAlive(5952) returns True. [First try, process is alive.] (CPID5952/CMPID=5952/CBPID=0)
[12/9/2013 4:50:05 PM] [d] Waiting for CGMiner to initialize API. Process 5952 alive=True, minerid=5952.
[12/9/2013 4:50:06 PM] [d] Watch for miner, expected process is 5952 (alive).
[12/9/2013 4:50:06 PM] [d] CGMiner process is running using ProcessID 5952, expecting port 4028.
[12/9/2013 4:50:07 PM] [d] CGMiner running but without API access... waiting to check again.
[12/9/2013 4:50:09 PM] [d] CGMiner running but without API access... waiting to check again.
[12/9/2013 4:50:11 PM] [d] CGMiner running and API initialized on port 4028, process matched to profile NEW Fastcoin.
[12/9/2013 4:50:11 PM] [d] Finish wait for miner to start, process is 5952 (alive).
[12/9/2013 4:50:11 PM] CGMiner started successfully.
[12/9/2013 4:50:12 PM] [d] Coins.Refresh complete, 54 coin(s) present.
=================
Some of the ignored miner instances mentioned in the log may refer to the fact that I have cgminer-nogpu running some bit erupters in another task. That task has seemingly been unaffected by all this.
Any comments/suggestions from milone or anyone else?