Bitcoin Forum
April 24, 2024, 08:08:43 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 [42] 43 »
  Print  
Author Topic: Smartcoin Linux mining administration. [MULTI-MACHINE SUPPORT NOW IN!]  (Read 104964 times)
dime
Member
**
Offline Offline

Activity: 88
Merit: 10


View Profile
August 23, 2011, 01:30:00 PM
 #821

A couple more bugs:

1. If I don't split the screen fast enough when smartcoin loads up, and focus each window of the screen, I don't see the timestamp at the top (which is important to tell if smartcoin froze up).

2. When smartcoin creates its persistent ssh connections, it should do so using screen, or use a pid file so it can kill old ones. After running smartcoin for a while,

I had this many:
Code:
toor@z:~$ ps ux | grep ssh | grep smartcoin
toor       469  0.0  0.0  38556   960 ?        Ss   03:01   0:00 ssh -q -n -p 22 -i /home/toor/.ssh/id_rsa.smartcoin -o BatchMode=yes -NfM -S /tmp/smartcoin.ssh_connection.2 m@a
toor       519  0.0  0.0  38564   956 ?        Ss   03:01   0:00 ssh -q -n -p 22 -i /home/toor/.ssh/id_rsa.smartcoin -o BatchMode=yes -NfM -S /tmp/smartcoin.ssh_connection.3 j@b
toor      2289  0.0  0.0  38556   960 ?        Ss   Aug22   0:00 ssh -q -n -p 22 -i /home/toor/.ssh/id_rsa.smartcoin -o BatchMode=yes -NfM -S /tmp/smartcoin.ssh_connection.2 m@a
toor      2336  0.0  0.0  38564   956 ?        Ss   Aug22   0:00 ssh -q -n -p 22 -i /home/toor/.ssh/id_rsa.smartcoin -o BatchMode=yes -NfM -S /tmp/smartcoin.ssh_connection.3 j@b
toor      2785  0.0  0.0  38556   992 ?        Ss   03:01   0:00 ssh -q -n -p 22 -i /home/toor/.ssh/id_rsa.smartcoin -o BatchMode=yes -NfM -S /tmp/smartcoin.ssh_connection.2 m@a
toor      2790  0.0  0.0  38564   844 ?        Ss   03:01   0:00 ssh -q -n -p 22 -i /home/toor/.ssh/id_rsa.smartcoin -o BatchMode=yes -NfM -S /tmp/smartcoin.ssh_connection.2 m@a
toor      2795  0.0  0.0  38556   840 ?        Ss   03:01   0:00 ssh -q -n -p 22 -i /home/toor/.ssh/id_rsa.smartcoin -o BatchMode=yes -NfM -S /tmp/smartcoin.ssh_connection.2 m@a
toor      2926  0.0  0.0  38556   992 ?        Ss   03:01   0:00 ssh -q -n -p 22 -i /home/toor/.ssh/id_rsa.smartcoin -o BatchMode=yes -NfM -S /tmp/smartcoin.ssh_connection.3 j@b
toor      2931  0.0  0.0  38556   848 ?        Ss   03:01   0:00 ssh -q -n -p 22 -i /home/toor/.ssh/id_rsa.smartcoin -o BatchMode=yes -NfM -S /tmp/smartcoin.ssh_connection.3 j@b
toor      2936  0.0  0.0  38564   844 ?        Ss   03:01   0:00 ssh -q -n -p 22 -i /home/toor/.ssh/id_rsa.smartcoin -o BatchMode=yes -NfM -S /tmp/smartcoin.ssh_connection.3 j@b
toor      3316  0.0  0.0  38564   964 ?        Ss   03:01   0:00 ssh -q -n -p 22 -i /home/toor/.ssh/id_rsa.smartcoin -o BatchMode=yes -NfM -S /tmp/smartcoin.ssh_connection.2 m@a
toor      3321  0.0  0.0  38556   960 ?        Ss   03:01   0:00 ssh -q -n -p 22 -i /home/toor/.ssh/id_rsa.smartcoin -o BatchMode=yes -NfM -S /tmp/smartcoin.ssh_connection.3 j@b
toor      4408  0.0  0.0  38556   988 ?        Ss   Aug22   0:00 ssh -q -n -p 22 -i /home/toor/.ssh/id_rsa.smartcoin -o BatchMode=yes -NfM -S /tmp/smartcoin.ssh_connection.2 m@a
toor      4409  0.0  0.0  38556   848 ?        Ss   Aug22   0:00 ssh -q -n -p 22 -i /home/toor/.ssh/id_rsa.smartcoin -o BatchMode=yes -NfM -S /tmp/smartcoin.ssh_connection.2 m@a
toor      4410  0.0  0.0  38556   844 ?        Ss   Aug22   0:00 ssh -q -n -p 22 -i /home/toor/.ssh/id_rsa.smartcoin -o BatchMode=yes -NfM -S /tmp/smartcoin.ssh_connection.2 m@a
toor      4549  0.0  0.0  38556   988 ?        Ss   Aug22   0:00 ssh -q -n -p 22 -i /home/toor/.ssh/id_rsa.smartcoin -o BatchMode=yes -NfM -S /tmp/smartcoin.ssh_connection.3 j@b
toor      4554  0.0  0.0  38564   844 ?        Ss   Aug22   0:00 ssh -q -n -p 22 -i /home/toor/.ssh/id_rsa.smartcoin -o BatchMode=yes -NfM -S /tmp/smartcoin.ssh_connection.3 j@b
toor      4559  0.0  0.0  38556   844 ?        Ss   Aug22   0:00 ssh -q -n -p 22 -i /home/toor/.ssh/id_rsa.smartcoin -o BatchMode=yes -NfM -S /tmp/smartcoin.ssh_connection.3 j@b
toor      4942  0.0  0.0  38556   960 ?        Ss   Aug22   0:00 ssh -q -n -p 22 -i /home/toor/.ssh/id_rsa.smartcoin -o BatchMode=yes -NfM -S /tmp/smartcoin.ssh_connection.2 m@a
toor      4947  0.0  0.0  38564   956 ?        Ss   Aug22   0:00 ssh -q -n -p 22 -i /home/toor/.ssh/id_rsa.smartcoin -o BatchMode=yes -NfM -S /tmp/smartcoin.ssh_connection.3 j@b
toor      6261  0.0  0.0  38564   960 ?        Ss   03:01   0:00 ssh -q -n -p 22 -i /home/toor/.ssh/id_rsa.smartcoin -o BatchMode=yes -NfM -S /tmp/smartcoin.ssh_connection.2 m@a
toor      6308  0.0  0.0  38564   956 ?        Ss   03:01   0:00 ssh -q -n -p 22 -i /home/toor/.ssh/id_rsa.smartcoin -o BatchMode=yes -NfM -S /tmp/smartcoin.ssh_connection.3 j@b
toor      6563  0.0  0.0  38564   952 ?        Ss   Aug22   0:00 ssh -q -n -p 22 -i /home/toor/.ssh/id_rsa.smartcoin -o BatchMode=yes -NfM -S /tmp/smartcoin.ssh_connection.2 m@a
toor      6610  0.0  0.0  38556   956 ?        Ss   Aug22   0:00 ssh -q -n -p 22 -i /home/toor/.ssh/id_rsa.smartcoin -o BatchMode=yes -NfM -S /tmp/smartcoin.ssh_connection.3 j@b
toor      7212  0.0  0.0  38564   960 ?        Ss   Aug22   0:00 ssh -q -n -p 22 -i /home/toor/.ssh/id_rsa.smartcoin -o BatchMode=yes -NfM -S /tmp/smartcoin.ssh_connection.2 m@a
toor      8086  0.0  0.0  38556   956 ?        Ss   Aug22   0:00 ssh -q -n -p 22 -i /home/toor/.ssh/id_rsa.smartcoin -o BatchMode=yes -NfM -S /tmp/smartcoin.ssh_connection.3 j@b
toor      8384  0.0  0.0  38564   992 ?        Ss   03:01   0:00 ssh -q -n -p 22 -i /home/toor/.ssh/id_rsa.smartcoin -o BatchMode=yes -NfM -S /tmp/smartcoin.ssh_connection.2 m@a
toor      8389  0.0  0.0  38556   844 ?        Ss   03:01   0:00 ssh -q -n -p 22 -i /home/toor/.ssh/id_rsa.smartcoin -o BatchMode=yes -NfM -S /tmp/smartcoin.ssh_connection.2 m@a
toor      8391  0.0  0.0  38564   844 ?        Ss   03:01   0:00 ssh -q -n -p 22 -i /home/toor/.ssh/id_rsa.smartcoin -o BatchMode=yes -NfM -S /tmp/smartcoin.ssh_connection.2 m@a
toor      8525  0.0  0.0  38564   992 ?        Ss   03:01   0:00 ssh -q -n -p 22 -i /home/toor/.ssh/id_rsa.smartcoin -o BatchMode=yes -NfM -S /tmp/smartcoin.ssh_connection.3 j@b
toor      8530  0.0  0.0  38564   848 ?        Ss   03:01   0:00 ssh -q -n -p 22 -i /home/toor/.ssh/id_rsa.smartcoin -o BatchMode=yes -NfM -S /tmp/smartcoin.ssh_connection.3 j@b
toor      8535  0.0  0.0  38564   844 ?        Ss   03:01   0:00 ssh -q -n -p 22 -i /home/toor/.ssh/id_rsa.smartcoin -o BatchMode=yes -NfM -S /tmp/smartcoin.ssh_connection.3 j@b
toor      8712  0.0  0.0  38564   992 ?        Ss   Aug22   0:00 ssh -q -n -p 22 -i /home/toor/.ssh/id_rsa.smartcoin -o BatchMode=yes -NfM -S /tmp/smartcoin.ssh_connection.2 m@a
toor      8713  0.0  0.0  38564   844 ?        Ss   Aug22   0:00 ssh -q -n -p 22 -i /home/toor/.ssh/id_rsa.smartcoin -o BatchMode=yes -NfM -S /tmp/smartcoin.ssh_connection.2 m@a
toor      8714  0.0  0.0  38556   844 ?        Ss   Aug22   0:00 ssh -q -n -p 22 -i /home/toor/.ssh/id_rsa.smartcoin -o BatchMode=yes -NfM -S /tmp/smartcoin.ssh_connection.2 m@a
toor      8853  0.0  0.0  38564   992 ?        Ss   Aug22   0:00 ssh -q -n -p 22 -i /home/toor/.ssh/id_rsa.smartcoin -o BatchMode=yes -NfM -S /tmp/smartcoin.ssh_connection.3 j@b
toor      8858  0.0  0.0  38564   844 ?        Ss   Aug22   0:00 ssh -q -n -p 22 -i /home/toor/.ssh/id_rsa.smartcoin -o BatchMode=yes -NfM -S /tmp/smartcoin.ssh_connection.3 j@b
toor      8863  0.0  0.0  38564   844 ?        Ss   Aug22   0:00 ssh -q -n -p 22 -i /home/toor/.ssh/id_rsa.smartcoin -o BatchMode=yes -NfM -S /tmp/smartcoin.ssh_connection.3 j@b
toor      8924  0.0  0.0  38556   960 ?        Ss   03:01   0:03 ssh -q -n -p 22 -i /home/toor/.ssh/id_rsa.smartcoin -o BatchMode=yes -NfM -S /tmp/smartcoin.ssh_connection.3 j@b
toor      8929  0.0  0.0  38564   960 ?        Ss   03:01   0:03 ssh -q -n -p 22 -i /home/toor/.ssh/id_rsa.smartcoin -o BatchMode=yes -NfM -S /tmp/smartcoin.ssh_connection.2 m@a
toor      9271  0.0  0.0  38564   956 ?        Ss   Aug22   0:00 ssh -q -n -p 22 -i /home/toor/.ssh/id_rsa.smartcoin -o BatchMode=yes -NfM -S /tmp/smartcoin.ssh_connection.2 m@a
toor      9279  0.0  0.0  38564   956 ?        Ss   Aug22   0:00 ssh -q -n -p 22 -i /home/toor/.ssh/id_rsa.smartcoin -o BatchMode=yes -NfM -S /tmp/smartcoin.ssh_connection.3 j@b
toor     15076  0.0  0.0  38564   956 ?        Ss   Aug22   0:00 ssh -q -n -p 22 -i /home/toor/.ssh/id_rsa.smartcoin -o BatchMode=yes -NfM -S /tmp/smartcoin.ssh_connection.3 j@b
toor     15157  0.0  0.0  38556   960 ?        Ss   Aug22   0:03 ssh -q -n -p 22 -i /home/toor/.ssh/id_rsa.smartcoin -o BatchMode=yes -NfM -S /tmp/smartcoin.ssh_connection.2 m@a
toor     15302  0.0  0.0  38564   956 ?        Ss   Aug22   0:03 ssh -q -n -p 22 -i /home/toor/.ssh/id_rsa.smartcoin -o BatchMode=yes -NfM -S /tmp/smartcoin.ssh_connection.3 j@b
toor     15807  0.0  0.0  38556   960 ?        Ss   Aug22   0:00 ssh -q -n -p 22 -i /home/toor/.ssh/id_rsa.smartcoin -o BatchMode=yes -NfM -S /tmp/smartcoin.ssh_connection.2 m@a
toor     18494  0.0  0.0  38556   960 ?        Ss   02:58   0:00 ssh -q -n -p 22 -i /home/toor/.ssh/id_rsa.smartcoin -o BatchMode=yes -NfM -S /tmp/smartcoin.ssh_connection.2 m@a
toor     18541  0.0  0.0  38556   956 ?        Ss   02:58   0:00 ssh -q -n -p 22 -i /home/toor/.ssh/id_rsa.smartcoin -o BatchMode=yes -NfM -S /tmp/smartcoin.ssh_connection.3 j@b
toor     19761  0.0  0.0  38564   956 ?        Ss   02:59   0:00 ssh -q -n -p 22 -i /home/toor/.ssh/id_rsa.smartcoin -o BatchMode=yes -NfM -S /tmp/smartcoin.ssh_connection.3 j@b
toor     19858  0.0  0.0  38564   960 ?        Ss   02:59   0:00 ssh -q -n -p 22 -i /home/toor/.ssh/id_rsa.smartcoin -o BatchMode=yes -NfM -S /tmp/smartcoin.ssh_connection.2 m@a
toor     20354  0.0  0.0  38556   956 ?        Ss   02:59   0:00 ssh -q -n -p 22 -i /home/toor/.ssh/id_rsa.smartcoin -o BatchMode=yes -NfM -S /tmp/smartcoin.ssh_connection.2 m@a
toor     21048  0.0  0.0  38556   956 ?        Ss   02:59   0:00 ssh -q -n -p 22 -i /home/toor/.ssh/id_rsa.smartcoin -o BatchMode=yes -NfM -S /tmp/smartcoin.ssh_connection.3 j@b
toor     27291  0.0  0.0  38564   964 ?        Ss   03:00   0:00 ssh -q -n -p 22 -i /home/toor/.ssh/id_rsa.smartcoin -o BatchMode=yes -NfM -S /tmp/smartcoin.ssh_connection.2 m@a
toor     27338  0.0  0.0  38564   956 ?        Ss   03:00   0:00 ssh -q -n -p 22 -i /home/toor/.ssh/id_rsa.smartcoin -o BatchMode=yes -NfM -S /tmp/smartcoin.ssh_connection.3 j@b
toor     29410  0.0  0.0  38556   992 ?        Ss   03:00   0:00 ssh -q -n -p 22 -i /home/toor/.ssh/id_rsa.smartcoin -o BatchMode=yes -NfM -S /tmp/smartcoin.ssh_connection.2 m@a
toor     29415  0.0  0.0  38564   844 ?        Ss   03:00   0:00 ssh -q -n -p 22 -i /home/toor/.ssh/id_rsa.smartcoin -o BatchMode=yes -NfM -S /tmp/smartcoin.ssh_connection.2 m@a
toor     29416  0.0  0.0  38564   840 ?        Ss   03:00   0:00 ssh -q -n -p 22 -i /home/toor/.ssh/id_rsa.smartcoin -o BatchMode=yes -NfM -S /tmp/smartcoin.ssh_connection.2 m@a
toor     29551  0.0  0.0  38556   992 ?        Ss   03:00   0:00 ssh -q -n -p 22 -i /home/toor/.ssh/id_rsa.smartcoin -o BatchMode=yes -NfM -S /tmp/smartcoin.ssh_connection.3 j@b
toor     29556  0.0  0.0  38564   844 ?        Ss   03:00   0:00 ssh -q -n -p 22 -i /home/toor/.ssh/id_rsa.smartcoin -o BatchMode=yes -NfM -S /tmp/smartcoin.ssh_connection.3 j@b
toor     29561  0.0  0.0  38564   840 ?        Ss   03:00   0:00 ssh -q -n -p 22 -i /home/toor/.ssh/id_rsa.smartcoin -o BatchMode=yes -NfM -S /tmp/smartcoin.ssh_connection.3 j@b
toor     29941  0.0  0.0  38564   960 ?        Ss   03:00   0:00 ssh -q -n -p 22 -i /home/toor/.ssh/id_rsa.smartcoin -o BatchMode=yes -NfM -S /tmp/smartcoin.ssh_connection.2 m@a
toor     29950  0.0  0.0  38564   956 ?        Ss   03:00   0:00 ssh -q -n -p 22 -i /home/toor/.ssh/id_rsa.smartcoin -o BatchMode=yes -NfM -S /tmp/smartcoin.ssh_connection.3 j@b
This is on 3 machines (localhost + 2 remote) that each have 1 device and 2 workers.

Exiting and restarting smartcoin adds more.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713946123
Hero Member
*
Offline Offline

Posts: 1713946123

View Profile Personal Message (Offline)

Ignore
1713946123
Reply with quote  #2

1713946123
Report to moderator
sharky112065
Sr. Member
****
Offline Offline

Activity: 383
Merit: 250



View Profile
August 24, 2011, 09:29:16 AM
 #822

I'm trying to get Smartcoin working with Cgminer. I have all 4 GPU's running and the temps have been raised and they are at 99% load but I'm not seeing any mining stats.

Any idea what is wrong?

I'm running latest release version (r657). I ran the update.

Donations welcome: 12KaKtrK52iQjPdtsJq7fJ7smC32tXWbWr
Jessi
Sr. Member
****
Offline Offline

Activity: 333
Merit: 250


View Profile WWW
August 24, 2011, 09:58:13 PM
 #823

Now that I got your very good tool for about some weeks up and running, I am very happy that I gave it a try. Smiley
Anyway, as a noob to linux, I still got a question about making smartcoin and also the fan-control (AMDOverdriveCtrl) autostarting.
Is there a way to make it starting after a complete reboot together with vnc, and AMDOverdriveCtrl for each graphic-card?

As I am not here, this would help to let other people restart the machine if something has happend...


www.Bitcoin-Tools.de - Price Alert & Calculator [OUTDATED!]
A little tool to keep you informed or wake you up, if Mt.Gox reaches a defined price level and a calculator to convert  BTC or USD based on live Prices. It´s not working any more, because of Mt.Gox... but it was fun to code that time... keeping this link just for reminding... Thanks to everyone for donations done that time!
BTC: 1BQTankpeCZict849JRHxxYFnwZARV3YX7 | LTC: LecEsSJMYZK7wk493QvyNzA4BxHpXviAEA | PPC: PQdjfxTbjnXThwJ5bbEgJkc9GZcKpib9DM
gnar1ta$
Donator
Hero Member
*
Offline Offline

Activity: 798
Merit: 500


View Profile
August 24, 2011, 11:29:07 PM
 #824

Now that I got your very good tool for about some weeks up and running, I am very happy that I gave it a try. Smiley
Anyway, as a noob to linux, I still got a question about making smartcoin and also the fan-control (AMDOverdriveCtrl) autostarting.
Is there a way to make it starting after a complete reboot together with vnc, and AMDOverdriveCtrl for each graphic-card?

As I am not here, this would help to let other people restart the machine if something has happend...



Look back in the thread, may be what you are looking for.

https://bitcointalk.org/index.php?topic=16548.msg366154;topicseen#msg366154

and atitweak is much easier to use for clocks and fan control.

https://bitcointalk.org/index.php?topic=25750.0



Losing hundreds of Bitcoins with the best scammers in the business - BFL, Avalon, KNC, HashFast.
Jessi
Sr. Member
****
Offline Offline

Activity: 333
Merit: 250


View Profile WWW
August 24, 2011, 11:54:01 PM
 #825

Look back in the thread, may be what you are looking for.

https://bitcointalk.org/index.php?topic=16548.msg366154;topicseen#msg366154
Maybe it is kind of misunderstanding. What I want to do is smartcoin itself starting again right after computer restard...

www.Bitcoin-Tools.de - Price Alert & Calculator [OUTDATED!]
A little tool to keep you informed or wake you up, if Mt.Gox reaches a defined price level and a calculator to convert  BTC or USD based on live Prices. It´s not working any more, because of Mt.Gox... but it was fun to code that time... keeping this link just for reminding... Thanks to everyone for donations done that time!
BTC: 1BQTankpeCZict849JRHxxYFnwZARV3YX7 | LTC: LecEsSJMYZK7wk493QvyNzA4BxHpXviAEA | PPC: PQdjfxTbjnXThwJ5bbEgJkc9GZcKpib9DM
Zoomer
Hero Member
*****
Offline Offline

Activity: 658
Merit: 500



View Profile
August 25, 2011, 01:48:33 AM
 #826

I ran into an issue where the script didn't check for the existence of commands it relies on. locate and updatedb, to be specific. Just wanted to let you know; searches for these keys in google code issue tracker didn't turn anything up.

Code:
Running AutoDetection on machine localhost...

In order for smartcoin to try to reliably determine the location of installed miners and the AMD/ATI SDK for you, the linux command 'updatedb' should be run.  This can take quite a long time on machines with large filesystems.Note: root password is required and you will be prompted for it.
Do you want to attempt to run 'updatedb' now? (y)es or (n)o?
y

Running 'updatedb'... Please be patient
sudo: updatedb: command not found

Would you like smartcoin to attempt to auto-detect installed GPUs on this machine? (y)es or (n)o?

Invalid response!
y
Detecting available local devices. Please be patient...

done.

These are the locally installed devices that I have found:
Name Device #
---- --------
GPU[0] 0

If these don't look correct, please fix them manually via the control tab under option 9) Configure Devices.

Auto detecting local installed miners...
Would you like smartcoin to attempt to auto-detect installed miners? (y)es or (n)o?
y

/home/user/smartcoin/smartcoin_ops.sh: line 833: locate: command not found
/home/user/smartcoin/smartcoin_ops.sh: line 833: locate: command not found
/home/user/smartcoin/smartcoin_ops.sh: line 833: locate: command not found

Which miner listed above do you want to be the default miner for this machine?

Invalid selection. Please try again.

Invalid selection. Please try again.
0
Invalid selection. Please try again.
1
Invalid selection. Please try again.
locate
Invalid selection. Please try again.
2
Invalid selection. Please try again.
1
Invalid selection. Please try again.

Jessi
Sr. Member
****
Offline Offline

Activity: 333
Merit: 250


View Profile WWW
August 25, 2011, 03:30:08 PM
 #827

Has no one a solution to make smartcoin automatically autostart after computer-restart?

www.Bitcoin-Tools.de - Price Alert & Calculator [OUTDATED!]
A little tool to keep you informed or wake you up, if Mt.Gox reaches a defined price level and a calculator to convert  BTC or USD based on live Prices. It´s not working any more, because of Mt.Gox... but it was fun to code that time... keeping this link just for reminding... Thanks to everyone for donations done that time!
BTC: 1BQTankpeCZict849JRHxxYFnwZARV3YX7 | LTC: LecEsSJMYZK7wk493QvyNzA4BxHpXviAEA | PPC: PQdjfxTbjnXThwJ5bbEgJkc9GZcKpib9DM
Fletch
Full Member
***
Offline Offline

Activity: 168
Merit: 100


I'll have a steak sandwich and a... steak sandwich


View Profile
August 25, 2011, 09:47:52 PM
 #828

Has no one a solution to make smartcoin automatically autostart after computer-restart?
It depends on which operating system/distribution you're running. If you're running Ubuntu, you can follow the instructions I posted earlier in this topic:

https://bitcointalk.org/index.php?topic=16548.msg352509#msg352509

HashPeak - GPU mining hashrate peak detector
BTC: 1FLETCHvcUKosefrcZCLUQTtvx4WvgnYMC
jondecker76 (OP)
Full Member
***
Offline Offline

Activity: 238
Merit: 100


View Profile
August 27, 2011, 12:32:25 PM
 #829

Hey guys - I was away for the last week so I'm going to go over the backlog and make sure I address all questions that I missed on my break.  Thanks to those that stepped in and answered some questions while I was away!


RollerBot Advanced Trading Platform
https://bitcointalk.org/index.php?topic=447727.0
BTC Donations for development: 1H36oTJsi3adFh68wwzz95tPP2xoAoTmhC
jondecker76 (OP)
Full Member
***
Offline Offline

Activity: 238
Merit: 100


View Profile
August 27, 2011, 01:00:28 PM
 #830

Dime

Thanks for your feedback on everything, I'll try to respond to your comments:


So I have a handful of mining rigs running 4 cards each (sempron 140/5850's).

At the current moment, I have a heavily editted linuxcoin that I pxeboot and automatically starts mining with a cascade of screens that report back to the head node and I have a watch window over each miner, etc. The drawback of my approach is that it relies on 1. nfs for loading user/pass database or 2. hard packing it into squashfs. I can see how using smartcoin might be an easier approach assuming it worked the way it advertised. In testing, I've found several bugs/issues and I'd be grateful if you all can confirm whether these are things being worked on or acknowledged.

*) In my testing, latest phoenix, poclbm, and smartcoin was used and tested with ati 11.6 and 11.8 drivers.

1) When handling multiple machines, I constantly have the windows for remote machines not update after a while. This is not a connection problem. It's just smartcoin that does this.

I'm currently in the middle of building another mining rig right now.  I only had one rig when the multi-machine code was written and my testing time on other people's rigs was very limited.  I'm going to continue to improve the multi-machine stuff once I get my other rig in place (should be about a week from now)

Quote
2) I haven't done enough testing yet to see what causes the problem (and this is why I'm reaching out to see if others have similar issues), but CPU usage is inconsistent.

How inconsistent is the CPU usage for you?  Mine normally varies by about .2 or so

Quote
On my local machines (not dedicated mining rigs), I run a 4 window screen with phoenix instances with low aggression in each. They each use .3% cpu and the computers are usable.
When I set these machines up as remote machines from the dedicated smartcoin machine however, they run only 3 phoenix instances (exact same path, also with low aggression) and phoenix takes up 33% cpu.
With 2 pheonix instances, it uses up 50% each. Both of these cause my local machines to lag out the gui and make them unusable by the housemates.

On a remote machine, there is no extra code being executed - the only difference should be the extra communication overhead, which should be fairly minimal on the CPU load.  Though Its not 100% clear to me what you are saying above... 

Quote
On dedicated mining rigs, I have them running 4 phoenix instances (on 4 cards) and it eats up .7% cpu, so again, negligible.
When I set up smartcoin however, I ideally wanted them to each run 3 instances, so I set it up to run 12 phoenix instances. Each instance took up max % available cpu and 1 of the instances was always killed. When it was killed, it resulted in skewed numbers in the summary window because it did not show it was killed. For instance:
miner00: [133 mh/s] (not really running but still showing 133.3 mh/s)
miner01: [133 mh/s]
miner02: [133 mh/s]
miner03: [133 mh/s]
miner04: [200 mh/s]
miner05: [133 mh/s]
miner06: [133 mh/s]
miner07: [133 mh/s]
miner08: [200 mh/s]
miner09: [133 mh/s]
miner10: [133 mh/s]
miner11: [133 mh/s]

The total then showed 1733 mh/s instead of the correct 1600 mh/s because it couldn't tell what was going on. When I load up the miner screen, I can press o to reload that window and have it relaunch the miner. As soon as I do this, another window (usually 1 or 2 windows after that one) gets killed. It's not hung. It says Killed on the window so it's smartcoin killing the processes.

Regarding CPU usage, smartcoin will definitely use more CPU than running instances manually. This is because it is running a loop on each instance, monitoring for failover, lockup, etc - which is pretty CPU intensive.  Under Edit Settings->Machine Settings there is a "Status screen loop delay" setting that you can adjust for each machine that will greatly help your CPU load.  It injects a delay in each loop iteration so that you don't pound the CPU so much.  I usually run mine at 5 seconds,  but you can go as high as you want (of course your visual refreshes will be slower as well)

Regarding a killed process, its definitely not smartcoin killing it - smartcoin will only kill the entire screen session, and start a new one - it has no code to kill only a single instance (it sould be something at the OS level which kills it..).  Whats the memory usage when this happens?

If your machines are secure (no wallet.dat or anything personal laying around) and could give me some temporary ssh access, I'd be more than happy to help you figure out what is happening

Quote
So:
a. Summary window needs work on updating. And also detecting when miners are killed (especially when smartcoin is the one doing it).
b. Why is the cpu being eaten up? Because it works properly when I launch it from my scripts, but when smartcoin launches it (with the exact same parameters), it eats up more cpu.
c. Does anyone have any experience running smartcoin with 4+ cards and 3+ workers? (12+ phoenix instances) on a single sempron?

Thanks for your time, it's pretty impressive work, but so far, my custom image that I whipped up over a weekend does a far better job with less bloat: 0.0? load averages as opposed to 1.5+ consistent. SmartCoin will be great if it gets to where it needs to be but it still needs a bit to get there.
a) Yes, some work is still needed - though as I've mentioned earlier, smartcoin is definitely not killing the miner instance.
b) see if the Status screen loop delay setting helps
c) I do 3 cards with 4 workers very often - and I've personally tested 48 instances on a single-core p4 (3 cards * 16 instances each) with no problems at all (other than very high CPU usage, which would be expected).  Also, my mining rig (soon to be more than one rig) is dedicated, and therefore have no experience in keeping a usable GUI while mining. Have you messed with the phoenix aggression setting at all?




Quote
I was looking over a small part of the code, specifically the status window and I think there's lots of things that can be trimmed to make smartcoin be a bit faster.

A good example is this part:
I'll be messing with optimizations pretty soon,  I'll definitely give this one a good look and do some actual benchmarking.



Quote
A couple more bugs:

1. If I don't split the screen fast enough when smartcoin loads up, and focus each window of the screen, I don't see the timestamp at the top (which is important to tell if smartcoin froze up).

2. When smartcoin creates its persistent ssh connections, it should do so using screen, or use a pid file so it can kill old ones. After running smartcoin for a while,

I had this many:

1) Can you explain what you mean by split the screen?

2) There are apparently some issues left to resolve with the persistent SSH connections, and this is undoubtedly why your remote miner status screens stop refreshing after a while.  This will be my first priority once I get my second miner put together.''


Thanks again for all of the feedback!

RollerBot Advanced Trading Platform
https://bitcointalk.org/index.php?topic=447727.0
BTC Donations for development: 1H36oTJsi3adFh68wwzz95tPP2xoAoTmhC
jondecker76 (OP)
Full Member
***
Offline Offline

Activity: 238
Merit: 100


View Profile
August 28, 2011, 01:48:32 PM
 #831

I'm trying to get Smartcoin working with Cgminer. I have all 4 GPU's running and the temps have been raised and they are at 99% load but I'm not seeing any mining stats.

Any idea what is wrong?

I'm running latest release version (r657). I ran the update.

Are you sure you're on the status screen tab? (ctrl + a then 1)
Can you take a screenshot of the problem and post it here?

RollerBot Advanced Trading Platform
https://bitcointalk.org/index.php?topic=447727.0
BTC Donations for development: 1H36oTJsi3adFh68wwzz95tPP2xoAoTmhC
jondecker76 (OP)
Full Member
***
Offline Offline

Activity: 238
Merit: 100


View Profile
August 28, 2011, 01:50:55 PM
 #832

Now that I got your very good tool for about some weeks up and running, I am very happy that I gave it a try. Smiley
Anyway, as a noob to linux, I still got a question about making smartcoin and also the fan-control (AMDOverdriveCtrl) autostarting.
Is there a way to make it starting after a complete reboot together with vnc, and AMDOverdriveCtrl for each graphic-card?

As I am not here, this would help to let other people restart the machine if something has happend...



This isn't hard to do, but we have to know what linux distro you are running.
Also, why would you want to use vnc instead of ssh?

RollerBot Advanced Trading Platform
https://bitcointalk.org/index.php?topic=447727.0
BTC Donations for development: 1H36oTJsi3adFh68wwzz95tPP2xoAoTmhC
jondecker76 (OP)
Full Member
***
Offline Offline

Activity: 238
Merit: 100


View Profile
August 28, 2011, 01:52:07 PM
 #833

I ran into an issue where the script didn't check for the existence of commands it relies on. locate and updatedb, to be specific. Just wanted to let you know; searches for these keys in google code issue tracker didn't turn anything up.

Code:
Running AutoDetection on machine localhost...

In order for smartcoin to try to reliably determine the location of installed miners and the AMD/ATI SDK for you, the linux command 'updatedb' should be run.  This can take quite a long time on machines with large filesystems.Note: root password is required and you will be prompted for it.
Do you want to attempt to run 'updatedb' now? (y)es or (n)o?
y

Running 'updatedb'... Please be patient
sudo: updatedb: command not found

Would you like smartcoin to attempt to auto-detect installed GPUs on this machine? (y)es or (n)o?

Invalid response!
y
Detecting available local devices. Please be patient...

done.

These are the locally installed devices that I have found:
Name Device #
---- --------
GPU[0] 0

If these don't look correct, please fix them manually via the control tab under option 9) Configure Devices.

Auto detecting local installed miners...
Would you like smartcoin to attempt to auto-detect installed miners? (y)es or (n)o?
y

/home/user/smartcoin/smartcoin_ops.sh: line 833: locate: command not found
/home/user/smartcoin/smartcoin_ops.sh: line 833: locate: command not found
/home/user/smartcoin/smartcoin_ops.sh: line 833: locate: command not found

Which miner listed above do you want to be the default miner for this machine?

Invalid selection. Please try again.

Invalid selection. Please try again.
0
Invalid selection. Please try again.
1
Invalid selection. Please try again.
locate
Invalid selection. Please try again.
2
Invalid selection. Please try again.
1
Invalid selection. Please try again.


Thanks for the report - yes, its known that dependencies are ignored for now - I will fix this at some point once I find a graceful way to do it across different distros

RollerBot Advanced Trading Platform
https://bitcointalk.org/index.php?topic=447727.0
BTC Donations for development: 1H36oTJsi3adFh68wwzz95tPP2xoAoTmhC
sharky112065
Sr. Member
****
Offline Offline

Activity: 383
Merit: 250



View Profile
August 28, 2011, 02:06:50 PM
 #834

I'm trying to get Smartcoin working with Cgminer. I have all 4 GPU's running and the temps have been raised and they are at 99% load but I'm not seeing any mining stats.

Any idea what is wrong?

I'm running latest release version (r657). I ran the update.

Are you sure you're on the status screen tab? (ctrl + a then 1)
Can you take a screenshot of the problem and post it here?

I do not have a screen shot as I gave up for now and went back to Windows 7. I did hit ctrl + a and then 1 and was on the screen you are talking about. I had fan speeds and temps, but no data below that. According to Deepbit's website they were hashing at the correct rate.

Is there an option I'm supposed to set for it to work with Smartcoin? Like text only output or something?

Would like to get as much info together before I go try it again. Down time = less BTC.

Also, I did not notice any screens for Cgminer itself and thus as well Phoenix when I tried that (Phoenix did output data). Maybe that is normal, but would be nice to be able to toggle to the miners actual screen display for other info not normally displayed in Smartcoin.


Donations welcome: 12KaKtrK52iQjPdtsJq7fJ7smC32tXWbWr
gnar1ta$
Donator
Hero Member
*
Offline Offline

Activity: 798
Merit: 500


View Profile
August 28, 2011, 03:00:16 PM
 #835

I'm trying to get Smartcoin working with Cgminer. I have all 4 GPU's running and the temps have been raised and they are at 99% load but I'm not seeing any mining stats.

Any idea what is wrong?

I'm running latest release version (r657). I ran the update.

Are you sure you're on the status screen tab? (ctrl + a then 1)
Can you take a screenshot of the problem and post it here?

I do not have a screen shot as I gave up for now and went back to Windows 7. I did hit ctrl + a and then 1 and was on the screen you are talking about. I had fan speeds and temps, but no data below that. According to Deepbit's website they were hashing at the correct rate.



Were you logged in as root or as a user? My Linuxcoing rig showed the same symptoms if I was not root.  The screen sessions run in a root socket and are not viewable as user and the status screen showed only gpu status, no hash rates.

Losing hundreds of Bitcoins with the best scammers in the business - BFL, Avalon, KNC, HashFast.
sharky112065
Sr. Member
****
Offline Offline

Activity: 383
Merit: 250



View Profile
August 28, 2011, 10:40:15 PM
 #836

I'm trying to get Smartcoin working with Cgminer. I have all 4 GPU's running and the temps have been raised and they are at 99% load but I'm not seeing any mining stats.

Any idea what is wrong?

I'm running latest release version (r657). I ran the update.

Are you sure you're on the status screen tab? (ctrl + a then 1)
Can you take a screenshot of the problem and post it here?

I do not have a screen shot as I gave up for now and went back to Windows 7. I did hit ctrl + a and then 1 and was on the screen you are talking about. I had fan speeds and temps, but no data below that. According to Deepbit's website they were hashing at the correct rate.



Were you logged in as root or as a user? My Linuxcoing rig showed the same symptoms if I was not root.  The screen sessions run in a root socket and are not viewable as user and the status screen showed only gpu status, no hash rates.

I was running a root terminal session from Xwindows. whoami reported as root. Smartcoin was installed as root and .smartcoin dir was installed in /root. Also started up from the /root dir. The only screen sessions were the main smartcoin config screen and the smartcoin stats screen. Should have been 4 cgminer screens as well but I'm not sure if that is the way smartcoin sets up screens or not as I'm really new at using it.

Donations welcome: 12KaKtrK52iQjPdtsJq7fJ7smC32tXWbWr
jondecker76 (OP)
Full Member
***
Offline Offline

Activity: 238
Merit: 100


View Profile
August 29, 2011, 02:26:00 AM
 #837

The miner instance screen sessions are hidden in the background, but you can view them at any time by disconnecting from smartcoin (from the control screen, or using the Ctrl+A D key combo), and typing
Code:
screen -r miner
There, you can see all of the individual miner instances.

Normally, you don't need to worry about the individual instances as the status screen should give you an overview of the miner instances.  There may also be a chance that smartcoin isn't yet configured correctly. Have you set up worker accounts? Have you set up a profile yet (or are you using the automatic profile?) Are your devices and miners present in the database? Are you sure that the correct profile is being selected?




I'm trying to get Smartcoin working with Cgminer. I have all 4 GPU's running and the temps have been raised and they are at 99% load but I'm not seeing any mining stats.

Any idea what is wrong?

I'm running latest release version (r657). I ran the update.

Are you sure you're on the status screen tab? (ctrl + a then 1)
Can you take a screenshot of the problem and post it here?

I do not have a screen shot as I gave up for now and went back to Windows 7. I did hit ctrl + a and then 1 and was on the screen you are talking about. I had fan speeds and temps, but no data below that. According to Deepbit's website they were hashing at the correct rate.



Were you logged in as root or as a user? My Linuxcoing rig showed the same symptoms if I was not root.  The screen sessions run in a root socket and are not viewable as user and the status screen showed only gpu status, no hash rates.

I was running a root terminal session from Xwindows. whoami reported as root. Smartcoin was installed as root and .smartcoin dir was installed in /root. Also started up from the /root dir. The only screen sessions were the main smartcoin config screen and the smartcoin stats screen. Should have been 4 cgminer screens as well but I'm not sure if that is the way smartcoin sets up screens or not as I'm really new at using it.

RollerBot Advanced Trading Platform
https://bitcointalk.org/index.php?topic=447727.0
BTC Donations for development: 1H36oTJsi3adFh68wwzz95tPP2xoAoTmhC
sharky112065
Sr. Member
****
Offline Offline

Activity: 383
Merit: 250



View Profile
August 29, 2011, 08:54:34 AM
 #838

The miner instance screen sessions are hidden in the background, but you can view them at any time by disconnecting from smartcoin (from the control screen, or using the Ctrl+A D key combo), and typing
Code:
screen -r miner
There, you can see all of the individual miner instances.

Normally, you don't need to worry about the individual instances as the status screen should give you an overview of the miner instances.  There may also be a chance that smartcoin isn't yet configured correctly. Have you set up worker accounts? Have you set up a profile yet (or are you using the automatic profile?) Are your devices and miners present in the database? Are you sure that the correct profile is being selected?




I'm trying to get Smartcoin working with Cgminer. I have all 4 GPU's running and the temps have been raised and they are at 99% load but I'm not seeing any mining stats.

Any idea what is wrong?

I'm running latest release version (r657). I ran the update.

Are you sure you're on the status screen tab? (ctrl + a then 1)
Can you take a screenshot of the problem and post it here?

I do not have a screen shot as I gave up for now and went back to Windows 7. I did hit ctrl + a and then 1 and was on the screen you are talking about. I had fan speeds and temps, but no data below that. According to Deepbit's website they were hashing at the correct rate.



Were you logged in as root or as a user? My Linuxcoing rig showed the same symptoms if I was not root.  The screen sessions run in a root socket and are not viewable as user and the status screen showed only gpu status, no hash rates.

I was running a root terminal session from Xwindows. whoami reported as root. Smartcoin was installed as root and .smartcoin dir was installed in /root. Also started up from the /root dir. The only screen sessions were the main smartcoin config screen and the smartcoin stats screen. Should have been 4 cgminer screens as well but I'm not sure if that is the way smartcoin sets up screens or not as I'm really new at using it.

I did not know they would show up by disconnecting. I opened up another root terminal and typed screen -ls and did not find any others. I will try that next time I fire up Linuxcoin/Smartcoin.

Yes, I set up worker accounts. Yes, I set up a manual profile (not automatic). Yes devices and miners are present in the database. I also selected the active profile. They work because I know I'm hashing at the correct rate as evidence from the Pool website and GPU temps rising. Just no info other than fan speeds and GPU temps.

The reason I wanted to see the miner screens is because cgminer I believe will provide more info than Smartcoin will.

Would I be better off using cgminer by itself and not using Smartcoin? It has Fail over and uses multiple threads already.

Donations welcome: 12KaKtrK52iQjPdtsJq7fJ7smC32tXWbWr
elrock
Newbie
*
Offline Offline

Activity: 41
Merit: 0


View Profile
August 31, 2011, 01:30:13 PM
Last edit: August 31, 2011, 03:46:32 PM by elrock
 #839

I am having trouble getting Smartcoin to automatically identify my GPUs.  I just set up LinuxCoin on my machine so it is most likely related to that.  (Smartcoin had been working beautifully on my HDD before the switch to LinuxCoin.)  This is the error message I get when I try to add the GPUs manually from within Smartcoin (hey, it was worth a shot) and then start mining:

Code:
Invalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1
File "/opt/smartcoin/smartcoin_devices.py", line 5, in <module>
    devices = p.get_devices(device_type=cl.device_type.GPU)
pyopencl.RuntimeError: clGetDeviceIDs failed: device not found
done.

(The last couple of lines appeared when I tried re-installing Smartcoin.)

Also, I set up a simple profile yesterday and it seems to have disappeared; perhaps it's not saving to the persistence file?

I would appreciate guidance from folks who have got Smartcoin running successfully on LinuxCoin.  Thanks!

UPDATE: It turns out OpenCL is not identifying my GPUs at all; only the CPU shows up when I run clinfo.
Jen4538
Full Member
***
Offline Offline

Activity: 167
Merit: 100


View Profile
August 31, 2011, 01:53:51 PM
 #840

I am having trouble getting Smartcoin to automatically identify my GPUs.  I just set up LinuxCoin on my machine so it is most likely related to that.  (Smartcoin had been working beautifully on my HDD before the switch to LinuxCoin.)  This is the error message I get when I try to add the GPUs manually from within Smartcoin (hey, it was worth a shot) and then start mining:

Code:
Invalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1
File "/opt/smartcoin/smartcoin_devices.py", line 5, in <module>
    devices = p.get_devices(device_type=cl.device_type.GPU)
pyopencl.RuntimeError: clGetDeviceIDs failed: device not found
done.

(The last couple of lines appeared when I tried re-installing Smartcoin.)

Also, I set up a simple profile yesterday and it seems to have disappeared; perhaps it's not saving to the persistence file?

I would appreciate guidance from folks who have got Smartcoin running successfully on LinuxCoin.  Thanks!

change background color on desktop reboot to see if persistence is working ,  if it reverts back then it isnt saving .

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 [42] 43 »
  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!