Pages:
Author

Topic: Smartcoin Linux mining administration. [MULTI-MACHINE SUPPORT NOW IN!] - page 2. (Read 105030 times)

hero member
Activity: 658
Merit: 500
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.

sr. member
Activity: 333
Merit: 250
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...
donator
Activity: 798
Merit: 500
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://bitcointalksearch.org/topic/new-command-line-tool-for-overclocking-ati-cards-linux-25750


sr. member
Activity: 333
Merit: 250
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...

sr. member
Activity: 383
Merit: 250
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.
member
Activity: 88
Merit: 10
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.
member
Activity: 88
Merit: 10
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:
Code:
   for device in $R
    do
        deviceName=$(Field 1 "$device")
        deviceID=$(Field 2 "$device")
        deviceType=$(Field 3 "$device")
        if [[ "$deviceType" == "gpu" ]]; then
            Launch $G_MACHINE_INFO "sleep 0.2" # aticonfig seems to get upset sometimes if it is called very quickly in succession
                temperature=$(Launch $G_MACHINE_INFO "DISPLAY=:0 aticonfig --adapter=$deviceID --odgt | awk '/Temperature/ { print \$5 }';")
            Launch $G_MACHINE_INFO "sleep 0.2" # aticonfig seems to get upset sometimes if it is called very quickly in succession
                usage=$(Launch $G_MACHINE_INFO "DISPLAY=:0 aticonfig --adapter=$deviceID --odgc | awk '/GPU\ load/ { print \$4 }';")
            status=$status"$deviceName: Temp: $temperature load: $usage\n"
        fi
    done

could easily be done without 2*(# of adapters) aticonfig calls.

Code:
aticonfig --adapter=all --odgc > /tmp/odgc
aticonfig --adapter=all --odgt > /tmp/odgt
awk '
    $1 ~ /Adapter/ {
        adapter=$2
        for (i=0;i<5;i++) {getline}
        print substr($NF,1,match($NF,/%/)-1) > "/tmp/odgc."adapter
    }
' /tmp/odgc

awk '
    $1 ~ /Adapter/ {
        adapter=$2
        getline
        print substr($(NF-1),1,match($(NF-1),/\./)-1) > "/tmp/odgt."adapter
    }
' /tmp/odgt

This could easily spit out core and temps to the files which can be read much quicker (less load on ati drivers or querying gpus).
member
Activity: 88
Merit: 10
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.

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.

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 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.

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.
full member
Activity: 238
Merit: 100
Is there a file I can edit to show fan speed and clocks with GPU temp and load on localhost screen?


Not currently, but that's a pretty good idea. I'll add support for this soon
full member
Activity: 238
Merit: 100
Does it support cgminer or should I just use that instead of Smartcoin?
Yes, smartcoin does support using cgminer Smiley
donator
Activity: 798
Merit: 500
Is there a file I can edit to show fan speed and clocks with GPU temp and load on localhost screen?
sr. member
Activity: 383
Merit: 250
Does it support cgminer or should I just use that instead of Smartcoin?
full member
Activity: 238
Merit: 100
Quote
Also, be sure to post if you have questions on how to use smartcoin.  Its a deceivingly complex piece of software if you're new to mining, mining/pool/worker concepts and common terminology used in mining.

I have always been a computer-literate person, and quick to learn.  That said, I have to admit I have never used Linux (aside from a friend's Ubuntu laptop a couple times) -- but I remember DOS quite well!  So a command-line interface is not unfamiliar territory.  I guess all these years I've been looking for a really good personal reason to start learning Linux... what better reason than Bitcoin mining?

Anyway, point is, jondecker:  Thank you for helping out.  You can bet I'll be posting questions like crazy!

Quote
If you're at all familiar with relational databases, the overall layout will make a lot of sense, if not, you may find it a little confusing at first.

Ha, this is interesting because I just recently began studying for a BS in IT again, and a couple classes I have this semester are "Intro to Databases using Access" and (ugh...) intro to Crystal Reports (I have no idea what I'm doing in that class)...

I'm stoked!


Be sure to PM me when you get a linux system setup.  I enjoy educating/helping new linux users learn the ropes... I switched from Windows to Linux about 10 years ago and have never looked back.
hero member
Activity: 686
Merit: 500
Shame on everything; regret nothing.
Quote
Also, be sure to post if you have questions on how to use smartcoin.  Its a deceivingly complex piece of software if you're new to mining, mining/pool/worker concepts and common terminology used in mining.

I have always been a computer-literate person, and quick to learn.  That said, I have to admit I have never used Linux (aside from a friend's Ubuntu laptop a couple times) -- but I remember DOS quite well!  So a command-line interface is not unfamiliar territory.  I guess all these years I've been looking for a really good personal reason to start learning Linux... what better reason than Bitcoin mining?

Anyway, point is, jondecker:  Thank you for helping out.  You can bet I'll be posting questions like crazy!

Quote
If you're at all familiar with relational databases, the overall layout will make a lot of sense, if not, you may find it a little confusing at first.

Ha, this is interesting because I just recently began studying for a BS in IT again, and a couple classes I have this semester are "Intro to Databases using Access" and (ugh...) intro to Crystal Reports (I have no idea what I'm doing in that class)...

I'm stoked!
full member
Activity: 238
Merit: 100
Yes, as stated, smartcoin runs very well under linuxcoin, but keep a few things in mind:
- Linuxcoin needs to run most everything as root
- This means that you will want to both run smartcoin_install.sh as root, and always start smartcoin as root.
- Smartcoin comes pre-installed in linuxcoin- though it may be a bit out of date. I'd recommend you cd to the smartcoin directory (I believe its /opt/miners/smartcoin) and run 'svn update' before running smartcoin_install.sh. This will make sure you start out at the latest revision.


Also, be sure to post if you have questions on how to use smartcoin.  Its a deceivingly complex piece of software if you're new to mining, mining/pool/worker concepts and common terminology used in mining.  If you're at all familiar with relational databases, the overall layout will make a lot of sense, if not, you may find it a little confusing at first.
In the end though, it will definitely make your life much much easier when it comes to administering your system!
hero member
Activity: 686
Merit: 500
Shame on everything; regret nothing.
thanks for that info hack6500!

I got a bit over zealous and hadn't read much of this thread at the point when i posted Lips sealed

I see now that Smartcoin is an application to use in a linux environment.  I'm glad to see at least one person has used it under Linuxcoin, because booting from usb will be my only option until I start getting more cash flow...
newbie
Activity: 15
Merit: 0
I'm entering into the mining world with my modest 2x 5830 rig that I pieced together over the last couple months with the extremely limited resources available to me...

I have no extra hard drive, no one I know wants to donate one, and I have no money left to buy one.  So, I thought my only option would be Linuxcoin.  After seeing this thread, I am interested in all the features SMARTcoin provides.

A couple questions:  How much space do I need to install and run SMARTcoin?

and:  Can anyone provide a comparison features list of SMARTcoin versus Linuxcoin?

crypt: i would strongly discourage using any HD in a miner, the extra heat/pwr consumption is unnecessary. rather, get yourself a 4gb (2gb will suffice) USB flash disk, install linuxcoin onto that usin the unetbootin from the wiki/thread/site and install the distribution onto the flash. most modern bios allow booting to usb and if you want, you can configure 'persistent' booting, which basically means changes are saved onto the usb and used next boot.

a miner needs to be nimble and recoverable. using linuxcoin accomplishes this well allowing the user LOTS of room to play with whatever their particular path requires. ex: apt-get install <> !!

to become a PROFITABLE miner, one needs to be nimble, recoverable and SMART! this is where smartcoin comes in, making smart choices of where to mine! this is preformed within the linuxcoin enviroment... there is a big distinction.

linuxcoin is a distribution of linux
smartcoin is a application running on linux

hope that helps!
hero member
Activity: 686
Merit: 500
Shame on everything; regret nothing.
I'm entering into the mining world with my modest 2x 5830 rig that I pieced together over the last couple months with the extremely limited resources available to me...

I have no extra hard drive, no one I know wants to donate one, and I have no money left to buy one.  So, I thought my only option would be Linuxcoin.  After seeing this thread, I am interested in all the features SMARTcoin provides.

A couple questions:  How much space do I need to install and run SMARTcoin?

and:  Can anyone provide a comparison features list of SMARTcoin versus Linuxcoin?
full member
Activity: 238
Merit: 100
Glad to hear it worked well for you, and thanks for the donation!
Please post back if you find any further problems as multi-machine support is still very young and I want to make sure that it is stable and works as it should!

The remote miner status screen has been freezing on me frequently.  The remote miners keep running though.  Below is my log screen.

Code:
08/14/11 00:20:09       Creating persistent ssh connection to machine 6

08/14/11 00:20:09       DEBUG: sleep 0.2

08/14/11 00:20:15       Creating persistent ssh connection to machine 6

08/14/11 00:20:15       DEBUG: grep 'hash' '/tmp/smartcoin-Miner.12' 2> /dev/null | tail -n 1

Normally, I only see the "DEBUG: sleep 0.2" message.  Tonight was the first time I've seen the "DEBUG: grep 'hash' '/tmp/smartcoin-Miner.12' 2> /dev/null | tail -n 1" message.

I haven't paid close enough attention to see if it's only one of the remote miner's status screen freezing or both freezing.

Killing Smartcoin and restarting it doesn't solve the problem.  Sometimes killing Smartcoin and then killing the screen on the remote miners that was frozen solves the problem, but the status screen sometimes stays frozen even after killing both things.

Edit1: I forgot to mention that I'm using r657s.

Edit2: It's both status screen that freeze on me, not just one of them.
Sorry it took so long to get back to you - i'm in the middle of a remodeling project so the last couple of days have been extremely busy

If you're constantly getting the log message that is creating the persistent ssh connection, that means that the SSH connection is dropping out for some reason (it should only have to create the connection once, and perhaps periodically you may see it.  Can you still manually ssh into the remote machine when t his happens?  Are all machines all on the same LAN? Are all connections hard-wired, or is WIFI involved?
At this point, I'm suspecting some problem at the network level(a flaky ethernet card even?). In the tests that I did here, I had no problem keeping a persistent ssh connection for weeks at a time without issues.  The fact that your connection goes down, and attempts to recreate the connection unsuccessfully points to a network problem as well.

You can check /var/log/syslog and /var/log/messages on the remote machines to see if there are any sshd errors, that should help give as a clue. Try running:
Code:
grep -rin ssh /var/log/*
And see if we can find the problem.  You can even run the above line on the machine running smartcoin as well. Please report back what you find out!
full member
Activity: 150
Merit: 100
Glad to hear it worked well for you, and thanks for the donation!
Please post back if you find any further problems as multi-machine support is still very young and I want to make sure that it is stable and works as it should!

The remote miner status screen has been freezing on me frequently.  The remote miners keep running though.  Below is my log screen.

Code:
08/14/11 00:20:09       Creating persistent ssh connection to machine 6

08/14/11 00:20:09       DEBUG: sleep 0.2

08/14/11 00:20:15       Creating persistent ssh connection to machine 6

08/14/11 00:20:15       DEBUG: grep 'hash' '/tmp/smartcoin-Miner.12' 2> /dev/null | tail -n 1

Normally, I only see the "DEBUG: sleep 0.2" message.  Tonight was the first time I've seen the "DEBUG: grep 'hash' '/tmp/smartcoin-Miner.12' 2> /dev/null | tail -n 1" message.

I haven't paid close enough attention to see if it's only one of the remote miner's status screen freezing or both freezing.

Killing Smartcoin and restarting it doesn't solve the problem.  Sometimes killing Smartcoin and then killing the screen on the remote miners that was frozen solves the problem, but the status screen sometimes stays frozen even after killing both things.

Edit1: I forgot to mention that I'm using r657s.

Edit2: It's both status screen that freeze on me, not just one of them.
Pages:
Jump to: