Post
Topic
Board Mining support
Re: Bitmain AntMiner U1 Tips & Tricks
by
chadgroover
on 11/01/2014, 00:55:42 UTC
Running for 20+ minutes now and cgminer has been perfectly stable with 0%-1% CPU usage whenever I check (PiMiner consistently seems to take up 28%-30%, but I can live with that!)

Maybe your on to something here.

With my fresh built image ive just done (as per the post above) I still saw ~60% cpu usage by CGMiner.

Have just commented out that line in etc/init.d and rebooted and am instead running it with
Code:
sudo ./fractalbc/cgminer/cgminer --bmsc-options 115200:20 --bmsc-freq 0981 -o stratum.bitcoin.cz:3333 -u XXXXX-p XXXXX --api-listen --api-allow 0/0

And im seeing 1% usage. I wonder if its a specific option, or indeed the config file itself that's causing high CPU utilisation....

Gonna leave mine hashing overnight, if its still running tomorrow then il be 95% sure its the config file that's causing issues. Il slowly try removing lines and options until the CPU usage drops to these levels, or I cant remove anymore! I just prefer using the config file as it means the launch code is cleaner Smiley

Hate to throw a spanner in the works, but I've tried it with a config file too and that's been working perfectly for the past hour, so I'm kind of stumped now! (the config file was written from within cgminer while using the command line in my post above, so it could possibly be worth trying that to generate a fresh config file if you haven't done that already)

Mine is as follows if that's any help;
Code:
{
"pools" : [
        {
                "url" : "pool1",
                "user" : "user1",
                "pass" : "pass1"
        },
        {
                "url" : "pool2",
                "user" : "user2",
                "pass" : "pass2"
        }

]
,
"api-listen" : true,
"api-mcast-port" : "4028",
"api-port" : "4028",
"expiry" : "120",
"hotplug" : "5",
"failover-only" : true,
"log" : "5",
"no-pool-disable" : true,
"queue" : "1",
"scan-time" : "60",
"shares" : "0",
"kernel-path" : "/usr/local/bin",
"api-allow" : "0/0",
"bmsc-options" : "115200:20",
"bmsc-freq" : "0881"
}