Bitcoin Forum
August 18, 2018, 01:43:52 AM *
News: Latest stable version of Bitcoin Core: 0.16.2  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: « 1 ... 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 [535] 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 ... 847 »
  Print  
Author Topic: OFFICIAL CGMINER mining software thread for linux/win/osx/mips/arm/r-pi 4.11.1  (Read 5761143 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.
daemondazz
Sr. Member
****
Offline Offline

Activity: 448
Merit: 250



View Profile
June 04, 2013, 04:39:28 AM
 #10681

I run cgminer under daemontools. Use --syslog to send most of the log output to the system log and redirect output from the command line to /tmp/cgminer.log, so you can see the ongoing hashrate.

Computers, Amateur Radio, Electronics, Aviation - 1dazzrAbMqNu6cUwh2dtYckNygG7jKs8S
1534556632
Hero Member
*
Offline Offline

Posts: 1534556632

View Profile Personal Message (Offline)

Ignore
1534556632
Reply with quote  #2

1534556632
Report to moderator
1534556632
Hero Member
*
Offline Offline

Posts: 1534556632

View Profile Personal Message (Offline)

Ignore
1534556632
Reply with quote  #2

1534556632
Report to moderator
1534556632
Hero Member
*
Offline Offline

Posts: 1534556632

View Profile Personal Message (Offline)

Ignore
1534556632
Reply with quote  #2

1534556632
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1534556632
Hero Member
*
Offline Offline

Posts: 1534556632

View Profile Personal Message (Offline)

Ignore
1534556632
Reply with quote  #2

1534556632
Report to moderator
bitpop
Legendary
*
Offline Offline

Activity: 2338
Merit: 1043


https://keybase.io/bitpop


View Profile WWW
June 04, 2013, 04:40:21 AM
 #10682

You can use "screen" too

Reputation  |  PGP  |  DigitalOcean  |  TorGuard  |  Ethereum Classic
Bitcoin: 3DSh6AnmvBpDJFUz2mnLirMLmTMcFs9nDm
Bitmessage: BM-2cXN9j8NFT2n1FxDVQ6HQq4D4MZuuaBFyb
daemondazz
Sr. Member
****
Offline Offline

Activity: 448
Merit: 250



View Profile
June 04, 2013, 04:44:57 AM
 #10683

You can use "screen" too

Definitely, but this means that you need to (after a system reboot) remember, or be available, to log in and start everything up.

I have my systems PXE booting, automatically starting X under tty12 and cgminer under daemontools. It means that my miners can reboot at any time and they'll come up mining. Throw in puppet for managing the config files and it's fairly well automated.

Computers, Amateur Radio, Electronics, Aviation - 1dazzrAbMqNu6cUwh2dtYckNygG7jKs8S
LogicalUnit
Sr. Member
****
Offline Offline

Activity: 299
Merit: 250


View Profile
June 04, 2013, 04:48:52 AM
 #10684

You can use "screen" too

Definitely, but this means that you need to (after a system reboot) remember, or be available, to log in and start everything up.

I have my systems PXE booting, automatically starting X under tty12 and cgminer under daemontools. It means that my miners can reboot at any time and they'll come up mining. Throw in puppet for managing the config files and it's fairly well automated.

Could you elaborate on what PXE booting, daemontools, and puppet mean? I'm a Windows guy!
daemondazz
Sr. Member
****
Offline Offline

Activity: 448
Merit: 250



View Profile
June 04, 2013, 04:53:06 AM
 #10685

Could you elaborate on what PXE booting, daemontools, and puppet mean? I'm a Windows guy!

Sure:
PXE booting means booting off the network from a file server - no disks in the machine and they all share the same root filesystem on the file server
daemontools is a program for supervising processes - if they die it automatically restarts them
puppet is a configuration management tool for linux

I should probably do a howto for all this, parts of this could be easily re-used without needing the whole setup.

Computers, Amateur Radio, Electronics, Aviation - 1dazzrAbMqNu6cUwh2dtYckNygG7jKs8S
LogicalUnit
Sr. Member
****
Offline Offline

Activity: 299
Merit: 250


View Profile
June 04, 2013, 05:26:47 AM
 #10686

Could you elaborate on what PXE booting, daemontools, and puppet mean? I'm a Windows guy!

Sure:
PXE booting means booting off the network from a file server - no disks in the machine and they all share the same root filesystem on the file server
daemontools is a program for supervising processes - if they die it automatically restarts them
puppet is a configuration management tool for linux

I should probably do a howto for all this, parts of this could be easily re-used without needing the whole setup.

Many thanks for the helpful response. I for one would appreciate a howto on making the RPi/MinePeon more automatic.
Blisk
Sr. Member
****
Offline Offline

Activity: 355
Merit: 250


View Profile
June 04, 2013, 05:41:25 AM
 #10687

Can I hope in future that temp-cutoff will shut down cgminer too not just stop using gpu?

Lucko
Hero Member
*****
Offline Offline

Activity: 826
Merit: 1000



View Profile
June 04, 2013, 05:55:51 AM
 #10688

EDIT: Now I get it. Well I did some testings and I can get about 4% more if I set up to 10 and 12. And that is missing at the moment... As far as I know 8 and 9 were limits in older versions...

There aren't really any limits per version of CGMiner, except where it tops out at which I think is 14.  But the limit is per GPU type.  9 is about the max that gets you the best performance.  But I have 5xxx series GPU's so 8 or 9 is the highest which is best for those.  If you have newer GPU's then maybe you can go higher.  I would recommend keeping an eye on your U: and HW errors though.

Again the FAQ in the top post explains allot of this.
Sam
Upper limit is 20 and numbers that I have are from test are 5770 and 6790 preforms best with 10 and 5850, 5970, 6870 performs best with 12. No problems whit HW and U is higher(2 day testing)... So can we stop this. I will use that settings if possible. I'm not asking if it is OK to use it. So no need to continue.

I would like to know why I can't use setting for intensity higher then 8 with 8 GPU cores and I was able to do so with 5 cores. What is a solution or workaround...
chanberg
Hero Member
*****
Offline Offline

Activity: 672
Merit: 500


View Profile
June 04, 2013, 06:39:17 AM
 #10689

Could you elaborate on what PXE booting, daemontools, and puppet mean? I'm a Windows guy!

Sure:
PXE booting means booting off the network from a file server - no disks in the machine and they all share the same root filesystem on the file server
daemontools is a program for supervising processes - if they die it automatically restarts them
puppet is a configuration management tool for linux

I should probably do a howto for all this, parts of this could be easily re-used without needing the whole setup.

+1
turtle83
Sr. Member
****
Offline Offline

Activity: 322
Merit: 250


Supersonic


View Profile WWW
June 04, 2013, 09:39:56 AM
 #10690

You can use "screen" too

Definitely, but this means that you need to (after a system reboot) remember, or be available, to log in and start everything up.


http://stackoverflow.com/questions/7049252/how-to-create-a-screen-executing-given-command

worldinacoin
Hero Member
*****
Offline Offline

Activity: 756
Merit: 500



View Profile
June 04, 2013, 09:45:49 AM
 #10691

I am using Avast, but it seems to be detecting the program as a virus, does it matter?
bitpop
Legendary
*
Offline Offline

Activity: 2338
Merit: 1043


https://keybase.io/bitpop


View Profile WWW
June 04, 2013, 09:48:18 AM
 #10692

No continue ignore virus

Reputation  |  PGP  |  DigitalOcean  |  TorGuard  |  Ethereum Classic
Bitcoin: 3DSh6AnmvBpDJFUz2mnLirMLmTMcFs9nDm
Bitmessage: BM-2cXN9j8NFT2n1FxDVQ6HQq4D4MZuuaBFyb
twmz
Hero Member
*****
Offline Offline

Activity: 737
Merit: 500



View Profile
June 04, 2013, 09:50:14 AM
 #10693

You can use "screen" too

Definitely, but this means that you need to (after a system reboot) remember, or be available, to log in and start everything up.

I have my systems PXE booting, automatically starting X under tty12 and cgminer under daemontools. It means that my miners can reboot at any time and they'll come up mining. Throw in puppet for managing the config files and it's fairly well automated.

You can automate the starting of 'screen' also.  My machines automatically resume mining (with 'screen') after a reboot as well.

Was I helpful?  1TwmzX1wBxNF2qtAJRhdKmi2WyLZ5VHRs
WoT, GPG

Bitrated user: ewal.
Newar
Legendary
*
Offline Offline

Activity: 1344
Merit: 1000


https://gliph.me/hUF


View Profile
June 04, 2013, 09:51:24 AM
 #10694

You can use "screen" too
Since we are on the screen topic, hope you don't mind I squeeze in this question:

I check my rig via SSH and the last time it crashed (overall reported hashrate by pool dropped to 0, so I went and had a look), I did screen -r and it reported back there was no screen to reattach. So, from other people's experience with running cgminer under screen: How stable is screen? Any only else encountered this?

OTC rating | GPG keyid 1DC91318EE785FDE | Gliph: lightning bicycle tree music | Mycelium, a swift & secure Bitcoin client for Android | LocalBitcoins
bitpop
Legendary
*
Offline Offline

Activity: 2338
Merit: 1043


https://keybase.io/bitpop


View Profile WWW
June 04, 2013, 09:55:43 AM
 #10695

How do people do it without screen? Just keep ssh up? A disconnect kills it right? This is one thing Windows rdp is amazing with.

Reputation  |  PGP  |  DigitalOcean  |  TorGuard  |  Ethereum Classic
Bitcoin: 3DSh6AnmvBpDJFUz2mnLirMLmTMcFs9nDm
Bitmessage: BM-2cXN9j8NFT2n1FxDVQ6HQq4D4MZuuaBFyb
rav3n_pl
Legendary
*
Offline Offline

Activity: 1360
Merit: 1000


Don`t panic! Organize!


View Profile WWW
June 04, 2013, 09:57:41 AM
 #10696

You can use "screen" too
Since we are on the screen topic, hope you don't mind I squeeze in this question:

I check my rig via SSH and the last time it crashed (overall reported hashrate by pool dropped to 0, so I went and had a look), I did screen -r and it reported back there was no screen to reattach. So, from other people's experience with running cgminer under screen: How stable is screen? Any only else encountered this?
Screen by default is closing itself if application ends, also when it crash.
see screen --help to find workaround Smiley

1Rav3nkMayCijuhzcYemMiPYsvcaiwHni  Bitcoin stuff on my OneDrive
My RPC CoinControl for any coin https://bitcointalk.org/index.php?topic=929954
Some stuff on https://github.com/Rav3nPL/
Newar
Legendary
*
Offline Offline

Activity: 1344
Merit: 1000


https://gliph.me/hUF


View Profile
June 04, 2013, 09:59:15 AM
 #10697

Screen by default is closing itself if application ends, also when it crash.
see screen --help to find workaround Smiley
Will do, thanks!


How do people do it without screen? Just keep ssh up? A disconnect kills it right? This is one thing Windows rdp is amazing with.
I found tmux when looking for alternatives. Looks promising to me, but then I'm a noob

OTC rating | GPG keyid 1DC91318EE785FDE | Gliph: lightning bicycle tree music | Mycelium, a swift & secure Bitcoin client for Android | LocalBitcoins
twmz
Hero Member
*****
Offline Offline

Activity: 737
Merit: 500



View Profile
June 04, 2013, 10:02:25 AM
 #10698

You can use "screen" too
Since we are on the screen topic, hope you don't mind I squeeze in this question:

I check my rig via SSH and the last time it crashed (overall reported hashrate by pool dropped to 0, so I went and had a look), I did screen -r and it reported back there was no screen to reattach. So, from other people's experience with running cgminer under screen: How stable is screen? Any only else encountered this?

I have been using screen reliably since I started mining 15 months ago.  I have never seen screen crash.  I have seen no screen available messages a couple times, when trying to do screen -r, but that always meant that cgminer, itself, crashed (screen exits when the command it started exits.  I know it these were cgminer crashes because my shell script that wraps the start and stop logs the start time immediately before cgminer starts and the stop time immediately after it exits.  The current iteration of my shell script actually has a loop in it that restarts cgminer if it ever exits instead of just exiting itself, and since then I have never seen screen not be available when attaching to it.

Was I helpful?  1TwmzX1wBxNF2qtAJRhdKmi2WyLZ5VHRs
WoT, GPG

Bitrated user: ewal.
turtle83
Sr. Member
****
Offline Offline

Activity: 322
Merit: 250


Supersonic


View Profile WWW
June 04, 2013, 10:20:25 AM
 #10699

You can use "screen" too
Since we are on the screen topic, hope you don't mind I squeeze in this question:

I check my rig via SSH and the last time it crashed (overall reported hashrate by pool dropped to 0, so I went and had a look), I did screen -r and it reported back there was no screen to reattach. So, from other people's experience with running cgminer under screen: How stable is screen? Any only else encountered this?

Code:
while : #Run forever.. until end of time....
do
        screen .......
        logger -t myawesomescript "Cgminer crashed" # This goes into /var/log/syslog
        sleep 15 #Just for fun.
done

ewitte
Member
**
Offline Offline

Activity: 98
Merit: 10


View Profile
June 04, 2013, 10:47:30 AM
 #10700

Does anyone know if these will work with the K16 which I believe uses the Icarus protocol?  I don't physically have the board yet so at this point its just a question.

Donations
BTC - 13Lgy6fb4d3nSYEf2nkgBgyBkkhPw8zkPd
LTC - LegzRwyc2Xhu8cqvaW2jwRrqSnhyaYU6gZ
Pages: « 1 ... 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 [535] 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 ... 847 »
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!