Bitcoin Forum
June 24, 2025, 09:30:13 AM *
News: Latest Bitcoin Core release: 29.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 [726] 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 ... 843 »
  Print  
Author Topic: OFFICIAL CGMINER mining software thread for linux/win/osx/mips/arm/r-pi 4.11.1  (Read 5806359 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. (3 posts by 1+ user deleted.)
AngusCanine
Legendary
*
Offline Offline

Activity: 1428
Merit: 1001

To weird to live To rare to die


View Profile WWW
March 02, 2014, 01:28:50 AM
Last edit: March 02, 2014, 02:26:44 AM by AngusCanine
 #14501

when using 4.0.1 what should my bat file look like for overclocking antminer u1

edit : thank you ckolivas for the speedy reply on the other thread
-ck (OP)
Legendary
*
Offline Offline

Activity: 4480
Merit: 1664


Ruu \o/


View Profile WWW
March 02, 2014, 01:52:55 AM
 #14502

when using 4.0.1 what should my bat file look like for overclocking antminer u1

Whatever it normally looks like plus: --anu-freq 250

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
AngusCanine
Legendary
*
Offline Offline

Activity: 1428
Merit: 1001

To weird to live To rare to die


View Profile WWW
March 02, 2014, 02:10:51 AM
 #14503

when using 4.0.1 what should my bat file look like for overclocking antminer u1

[/quote)
Whatever it normally looks like plus: --anu-freq 250


works perfectly
Internet151
Full Member
***
Offline Offline

Activity: 174
Merit: 100



View Profile
March 02, 2014, 11:18:39 AM
Last edit: March 03, 2014, 11:52:11 AM by Internet151
 #14504

Tried out 4.0.1 with my hashfast babyjets with upgraded 0.4 preview firmware. I noticed now when a babyjet reconnects for any reason it will keep it's name (ex. HFB 0) in the cgminer window, but in the API it will get a new name (ex. HFB 14) instead of just reactivating the old name. It's not really high priority, but id help clean up the stats I'm pulling from the API if this was corrected.

Also, had a few cases were 4.0.1 crashed when a babyjet hit 90C, went back to 3.12.0 and this did not reoccur.

EDIT: Also, cpu usage by cgminer seems to have greatly increased. I noticed these things with two machines running Windows 7.
HellDiverUK
Hero Member
*****
Offline Offline

Activity: 1246
Merit: 501



View Profile
March 03, 2014, 08:57:28 AM
 #14505

Is there a way to ban Luke from this thread? I suggest asking Theymos.

I suggest you keep your nose out of it.  Tongue
canford
Member
**
Offline Offline

Activity: 89
Merit: 10


View Profile WWW
March 03, 2014, 09:39:57 AM
Last edit: March 03, 2014, 09:54:55 AM by canford
 #14506

Will do, I have reverted the erupters to 3.12.3, which works great.  The bitcoin mining world is an odd combination of old and new hardware, I'm just running everything I have.  I suppose the financially logical thing to do would be to flip the erupters on Ebay, but I'd rather mine with them as long as they make more than the cost of the electricity that they consume.  Right now, the Avalon Mini + BE's make about $6 a day but cost around $4.  When that line is crossed, the tough thing will be throwing away working hardware, which the engineer in me hates the idea of.
Indeed, it's tough, but I'm pretty sure the erupters fell below their electricity costs a while ago, though I don't have the numbers here. You could always bet on BTC going $10k in the future and thus mining at an electricity cost loss now will pay off longer term... or you could just sell them now for more than they'll ever earn anyway (highly recommend the latter). Anyway in a future version I'll be more lax for these slowest devices left that cgminer still mines on, as this was clearly an oversight on my part. The next slowest device is a normally clocked antminer U1 at 1.6GH, and everyone overclocks them to 2GH anyway, so the difference is stark.

I ran all the numbers today in an excel spreadsheet.  First, let me say that I am mining bitcoin because I believe in bitcoin, so making money would be great but it is not a requirement.  Having run the numbers through, it appears that the Block Erupters and Avalon Mini do indeed make a small profit: Per day electricity cost $1.98, income $4.93, profit $2.95.  This is at the current 3.82G difficulty.  So it looks like 110nm has a little run life left.  I'm going to keep mining and perhaps expand the operation, depending on what happens as the all of the pre-orders are delivered and people mine regardless of cost to recoup what they can.  Interesting days ahead.  Thanks again CK for keeping cgminer up to date.

Пoльзyйтecь бecплaтнo и пишитe чтo вaм нyжнo yлyчшить:trd.ai
Bидeo, кaк пoльзoвaтьcя пpoeктoм:https://www.youtube.com/watch?v=pNhx715vOOk&feature=youtu.be
KyrosKrane
Sr. Member
****
Offline Offline

Activity: 295
Merit: 250


View Profile WWW
March 04, 2014, 05:56:54 AM
 #14507

I've noticed two odd behaviors with cgminer since switching to 4.0.1.  This is on Ubuntu 13.10 using the precompiled 64-bit binary of cgminer.  I have a small farm of 31 USB Block Erupters set up on this rig.  I configured the box using the instructions in the README file for USB devices running as a non-root user on Linux. Starting cgminer, they all run fine.

First thing, if I restart cgminer (using Settings -> Restart ->Yes), cgminer throws a "SEM" error for each device saying the devices are already in use.  Even if I wait a bit, cgminer doesn't re-detect them using hotplug.  I'll try to get you the exact error message if you need it.  Exiting cgminer then immediately restarting from the command line works fine; it instantly detects the devices and starts mining.

Second thing, cgminer doesn't seem to save queue settings.  I run p2pool, which recommends a queue of zero.  I set the queue (using Settings -> Queue -> 0), and it confirms the queue is set to zero.  Then I write the config file (Write -> type in path and name) and the summary screen that comes up shows a non-zero value for the queue.  After leaving the node running for a few days, I checked this morning and the queue size was at a stunning 4808! It manifested as a 6% drop in the hash rate for the devices.  Normally they run at a steady 335MH/s, give or take a 1%.  Today I found them at 315MH/s.

Tips and donations: 1KyrosREGDkNLp1rMd9wfVwfkXYHTd6j5U  |  BTC P2Pool node: p2pool.kyros.info:9332
deagel
Member
**
Offline Offline

Activity: 67
Merit: 10


View Profile
March 04, 2014, 06:10:06 AM
 #14508

hi,
is there an option to use a http proxy on multi pools?

i found this but it is only for single pools:
Code:
EXECUTIVE SUMMARY ON USAGE:

Single pool:

cgminer -o http://pool:port -u username -p password

Multiple pools:

cgminer -o http://pool1:port -u pool1username -p pool1password -o http://pool2:port -u pool2usernmae -p pool2password

Single pool with a standard http proxy:

cgminer -o "http:proxy:port|http://pool:port" -u username -p password

Single pool with a socks5 proxy:

cgminer -o "socks5:proxy:port|http://pool:port" -u username -p password

Single pool with stratum protocol support:

cgminer -o stratum+tcp://pool:port -u username -p password

The list of proxy types are:
 http:    standard http 1.1 proxy
 http0:   http 1.0 proxy
 socks4:  socks4 proxy
 socks5:  socks5 proxy
 socks4a: socks4a proxy
 socks5h: socks5 proxy using a hostname
kano
Legendary
*
Offline Offline

Activity: 4676
Merit: 1858


Linux since 1997 RedHat 4


View Profile
March 05, 2014, 07:57:52 AM
 #14509

hi,
is there an option to use a http proxy on multi pools?
...
You use a proxy setting on each pool you want a proxy for ...

Pool: https://kano.is - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
-ck (OP)
Legendary
*
Offline Offline

Activity: 4480
Merit: 1664


Ruu \o/


View Profile WWW
March 05, 2014, 09:39:26 AM
 #14510

I've noticed two odd behaviors with cgminer since switching to 4.0.1.  This is on Ubuntu 13.10 using the precompiled 64-bit binary of cgminer.  I have a small farm of 31 USB Block Erupters set up on this rig.  I configured the box using the instructions in the README file for USB devices running as a non-root user on Linux. Starting cgminer, they all run fine.

First thing, if I restart cgminer (using Settings -> Restart ->Yes), cgminer throws a "SEM" error for each device saying the devices are already in use.  Even if I wait a bit, cgminer doesn't re-detect them using hotplug.  I'll try to get you the exact error message if you need it.  Exiting cgminer then immediately restarting from the command line works fine; it instantly detects the devices and starts mining.

Second thing, cgminer doesn't seem to save queue settings.  I run p2pool, which recommends a queue of zero.  I set the queue (using Settings -> Queue -> 0), and it confirms the queue is set to zero.  Then I write the config file (Write -> type in path and name) and the summary screen that comes up shows a non-zero value for the queue.  After leaving the node running for a few days, I checked this morning and the queue size was at a stunning 4808! It manifested as a 6% drop in the hash rate for the devices.  Normally they run at a steady 335MH/s, give or take a 1%.  Today I found them at 315MH/s.
Yep restart's pretty broken. It's another one of those features from the GPU days unfortunately and shutting down all these threads reliably is really hard. I mentioned it a few pages back that only quit and start works. If I had infinite hours to work on it I'd eventually fix it, but new device drivers/features keep taking priority sorry.

I changed the queue size to auto adjust every time it hits zero now since it shouldn't - and there are devices with massive hashrates that need a huge queue to keep busy. Unfortunately that seems to be fighting with you trying to set it to zero, but that shouldn't actually drop the hashrate unless you're running out of cpu. So yeah it's not ideal. Kinda hard writing code for 333MH and 50TH setups at the same time. Lemme think about it. This might need a new command line option.


Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
KyrosKrane
Sr. Member
****
Offline Offline

Activity: 295
Merit: 250


View Profile WWW
March 05, 2014, 10:16:37 AM
 #14511

I changed the queue size to auto adjust every time it hits zero now since it shouldn't - and there are devices with massive hashrates that need a huge queue to keep busy. Unfortunately that seems to be fighting with you trying to set it to zero, but that shouldn't actually drop the hashrate unless you're running out of cpu. So yeah it's not ideal. Kinda hard writing code for 333MH and 50TH setups at the same time. Lemme think about it. This might need a new command line option.
Awesome, thanks for the update.  I'm not worried about the restart, so long as you're aware of it and it isn't a symptom of something else being broken.  Exit/restart works fine for me.

For the other, could I set the work queue to 1 as a workaround? Or would the system still try to raise it?

As for CPU, that's possible, I guess.  I'm running on a decade-or-so old Pentium dual-core box.  I'll see if I can set up some kind of CPU monitoring.

Tips and donations: 1KyrosREGDkNLp1rMd9wfVwfkXYHTd6j5U  |  BTC P2Pool node: p2pool.kyros.info:9332
M3kk
Full Member
***
Offline Offline

Activity: 128
Merit: 100


View Profile
March 05, 2014, 01:43:47 PM
 #14512

Hello, what i need to set to --api-allow to be accesed from ANY ip? Not only 127.0.0.1 and 192.168.0.x, but from 192.168.x.x too for example.. W:192.168.0.0/24,127.0.0.1 is only for localhost and 192.168.0.x ...

Ty.

LE: Nevermind, i think this is "W:0/0" Smiley.
crazyates
Legendary
*
Offline Offline

Activity: 952
Merit: 1000



View Profile
March 05, 2014, 01:55:40 PM
 #14513

Hello, what i need to set to --api-allow to be accesed from ANY ip? Not only 127.0.0.1 and 192.168.0.x, but from 192.168.x.x too for example.. W:192.168.0.0/24,127.0.0.1 is only for localhost and 192.168.0.x ...

Ty.

LE: Nevermind, i think this is "W:0/0" Smiley.
W:192.168.0.0/16 would allow anyone on the 192.168.x.x range.

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

Activity: 4676
Merit: 1858


Linux since 1997 RedHat 4


View Profile
March 05, 2014, 09:32:52 PM
 #14514

Hello, what i need to set to --api-allow to be accesed from ANY ip? Not only 127.0.0.1 and 192.168.0.x, but from 192.168.x.x too for example.. W:192.168.0.0/24,127.0.0.1 is only for localhost and 192.168.0.x ...

Ty.

LE: Nevermind, i think this is "W:0/0" Smiley.
Seriously, that's a bad idea in general.
It means anyone with any access (local or remote) to your miner can change anything they like ... including who it mines for.
That's what KFC put in their miners originally, no idea if they ever fixed it.

Also, 192.168/16 will also work

Pool: https://kano.is - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
JoseSan
Member
**
Offline Offline

Activity: 117
Merit: 10


View Profile
March 05, 2014, 11:14:38 PM
 #14515

Kinda hard writing code for 333MH and 50TH setups at the same time.

Well that piqued my curiosity...
-ck (OP)
Legendary
*
Offline Offline

Activity: 4480
Merit: 1664


Ruu \o/


View Profile WWW
March 06, 2014, 03:03:05 AM
 #14516

Kinda hard writing code for 333MH and 50TH setups at the same time.

Well that piqued my curiosity...
Icedrill still don't have the controllers they require to run all the Sierras they're getting from hashfast. This means a LOT of devices are being attached to less controllers(PCs running cgminer), and to make matters worse, the hashfast devices don't actually ntime roll internally in their firmware the way the documentation claims, which means cgminer has to actually generate every single work item for these devices, which is usually ~2300 at a time. We found the i3 in one laptop could reliably run about 50TH of Sierras. Note that this is thousands of time more work than a pool receiving and processing 50TH of shares.

...gotta love the efficiency of well written c code.

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
nowaltcoin
Full Member
***
Offline Offline

Activity: 158
Merit: 100


View Profile
March 06, 2014, 09:41:30 AM
 #14517

Good morning


is there any way to tell cgminer (newest version) not to use some devices?

Story:

I'am using some NFY-Devices with BFGMiner. (stable for now more than 4 month)
But i did not get my BiFury and Redfury running with BFGMiner so i use CGMiner for these.

The last weeks CGMiner is starting crashing constantly every 6-10 hours. (with usblib errors on alternating devices)
So i downloaded the 4.0.1 Version and it is more stable (crash every 18-24 hours)

But this version is complaining about the NFY-Devices ( should consult the readme about the right usb-lib drivers for the devices)

So any hint are very welcome

8 * Blackarrow Prospero at Low-Voltage mining @ ckpool.org
12 * GPU's mining ETN/Sumocoin
You like to mine something different: https://deutsche-emark.de/
kano
Legendary
*
Offline Offline

Activity: 4676
Merit: 1858


Linux since 1997 RedHat 4


View Profile
March 06, 2014, 09:44:32 AM
 #14518

Good morning

is there any way to tell cgminer (newest version) not to use some devices?

...

So any hint are very welcome
What does ./cgminer -n say?

You may be able to ignore them with --usb

Pool: https://kano.is - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
-ck (OP)
Legendary
*
Offline Offline

Activity: 4480
Merit: 1664


Ruu \o/


View Profile WWW
March 06, 2014, 09:47:04 AM
 #14519

But this version is complaining about the NFY-Devices ( should consult the readme about the right usb-lib drivers for the devices)
Every single USB device on cgminer uses exactly the same USB driver. Crashes should never happen, and any debugging would be most appreciated as per:
http://ck.kolivas.org/apps/cgminer/debug/README-debug

If you're not interested in helping the developers debug issues with the software you're depending on for free, feel free to read how to use the --usb command (as Kano has suggested) from the readme, to choose only the devices you want it to work on.

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
nowaltcoin
Full Member
***
Offline Offline

Activity: 158
Merit: 100


View Profile
March 06, 2014, 09:51:40 AM
 #14520

Good morning

is there any way to tell cgminer (newest version) not to use some devices?

...

So any hint are very welcome
What does ./cgminer -n say?

You may be able to ignore them with --usb

failed to open USB DEV4 - DEV13 err -12

Thanks for helping!

8 * Blackarrow Prospero at Low-Voltage mining @ ckpool.org
12 * GPU's mining ETN/Sumocoin
You like to mine something different: https://deutsche-emark.de/
Pages: « 1 ... 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 [726] 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 ... 843 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!