Bitcoin Forum
December 05, 2016, 08:41:47 AM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: [CLOSED] Need bash script for OC tweaking  (Read 934 times)
gusti
Legendary
*
Offline Offline

Activity: 1102


View Profile
September 08, 2011, 08:06:53 PM
 #1

I need a bash script for automatically tweaking OC in my debian mining rigs.
In brief, the script must increase GPU clock in regular intervals, using stock aticonfig, until last OC setting fails.
When miner fails, it must reboot the rig, and come back to the last highest no-failed setting.
Script must be fully commented for further develop, and it will have a GPL license.

Max bounty : 10 btc or best offer.




If you don't own the private keys, you don't own the coins.
1480927307
Hero Member
*
Offline Offline

Posts: 1480927307

View Profile Personal Message (Offline)

Ignore
1480927307
Reply with quote  #2

1480927307
Report to moderator
1480927307
Hero Member
*
Offline Offline

Posts: 1480927307

View Profile Personal Message (Offline)

Ignore
1480927307
Reply with quote  #2

1480927307
Report to moderator
"With e-currency based on cryptographic proof, without the need to trust a third party middleman, money can be secure and transactions effortless." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1480927307
Hero Member
*
Offline Offline

Posts: 1480927307

View Profile Personal Message (Offline)

Ignore
1480927307
Reply with quote  #2

1480927307
Report to moderator
1480927307
Hero Member
*
Offline Offline

Posts: 1480927307

View Profile Personal Message (Offline)

Ignore
1480927307
Reply with quote  #2

1480927307
Report to moderator
gusti
Legendary
*
Offline Offline

Activity: 1102


View Profile
September 09, 2011, 03:38:06 PM
 #2

any programmer interested ?

If you don't own the private keys, you don't own the coins.
kirax
Member
**
Offline Offline

Activity: 77


View Profile WWW
September 09, 2011, 05:12:50 PM
 #3

I need a bash script for automatically tweaking OC in my debian mining rigs.
In brief, the script must increase GPU clock in regular intervals, using stock aticonfig, until last OC setting fails.
When miner fails, it must reboot the rig, and come back to the last highest no-failed setting.
Script must be fully commented for further develop, and it will have a GPL license.

Max bounty : 10 btc or best offer.





The tricky part about this is that a locked card will sometimes bomb a machine so good that it cannot soft reboot. Would it be reasonable to assume that the machine is running with watchdog, which (usually) manages to reboot it, even if phoenix is currently holding most of the CPU cycles hostage?

I could look at it after the weekend.

VPS, shared, dedicated hosting at: electronstorm.ca. No bitcoin payment for that yet, but bitcoins possible for general IT, and mining/GPGPU rigs. PM for details.
gusti
Legendary
*
Offline Offline

Activity: 1102


View Profile
September 09, 2011, 05:20:49 PM
 #4

I need a bash script for automatically tweaking OC in my debian mining rigs.
In brief, the script must increase GPU clock in regular intervals, using stock aticonfig, until last OC setting fails.
When miner fails, it must reboot the rig, and come back to the last highest no-failed setting.
Script must be fully commented for further develop, and it will have a GPL license.

Max bounty : 10 btc or best offer.


The tricky part about this is that a locked card will sometimes bomb a machine so good that it cannot soft reboot. Would it be reasonable to assume that the machine is running with watchdog, which (usually) manages to reboot it, even if phoenix is currently holding most of the CPU cycles hostage?

I could look at it after the weekend.

I already tested that, and they can be rebooted. Anyway, if this is not possible, I can also cold reboot them.
The important thing is to store (txt file is ok) last no-failed OC setting.

If you don't own the private keys, you don't own the coins.
gusti
Legendary
*
Offline Offline

Activity: 1102


View Profile
September 12, 2011, 12:42:26 PM
 #5

Still looking for a programmer to do this job.

If you don't own the private keys, you don't own the coins.
gusti
Legendary
*
Offline Offline

Activity: 1102


View Profile
September 12, 2011, 07:10:51 PM
 #6

just testing a forum member script.

If you don't own the private keys, you don't own the coins.
Chemicalbro
Full Member
***
Offline Offline

Activity: 188



View Profile
September 12, 2011, 07:42:32 PM
 #7

More than one gpu per rig I assume too?

Vircurex Exchange BTC/LTC/NMC
gusti
Legendary
*
Offline Offline

Activity: 1102


View Profile
September 12, 2011, 09:56:13 PM
 #8

More than one gpu per rig I assume too?

Yes, but other member already sent me a workable script, so bounty is closed.
Thanks !

If you don't own the private keys, you don't own the coins.
flower1024
Hero Member
*****
Offline Offline

Activity: 854


luck is just a share away


View Profile
September 12, 2011, 10:06:19 PM
 #9

would you share it?
gusti
Legendary
*
Offline Offline

Activity: 1102


View Profile
September 12, 2011, 10:08:49 PM
 #10

would you share it?

No problem for me, but let me ask the original programmer of the script first.

If you don't own the private keys, you don't own the coins.
ovidiusoft
Sr. Member
****
Offline Offline

Activity: 252


View Profile
September 13, 2011, 07:20:30 AM
 #11

No problem for me either. If it's ok with you, gusti, I'll add a suggestion to donate to my address and upload the script to my Dropbox public folder. Since you were the one requesting this script, I think it's only fair to let you decide.
gusti
Legendary
*
Offline Offline

Activity: 1102


View Profile
September 13, 2011, 10:34:24 AM
 #12

No problem for me either. If it's ok with you, gusti, I'll add a suggestion to donate to my address and upload the script to my Dropbox public folder. Since you were the one requesting this script, I think it's only fair to let you decide.

Sure, please go ahead with that !

If you don't own the private keys, you don't own the coins.
ovidiusoft
Sr. Member
****
Offline Offline

Activity: 252


View Profile
September 13, 2011, 11:12:25 AM
 #13

Thank you! Also, I want to publicly acknowledge that I received the 10 BTC bounty from gusti.

The script can be downloaded from http://dl.dropbox.com/u/16757143/overclock-test.sh , shortlink http://db.tt/S73vRHk . It's written in bash and uses bc, awk,
pkill, so you need to have these installed.

The script starts Phoenix and keeps changing ram/gpu frequencies in set intervals. It also monitors temperature to prevent overheating and determines average hashrates for each ram/gpu frequency pairs. It writes the results in a file called 'results.csv.TIMESTAMP' in the current directory:

Code:
GPU,RAM,Mhs
1030,320,332.04
1030,325,330.40
1030,330,332.25
1035,320,332.94
1035,325,333.64
1035,330,333.84

If the machine locks, the last line written to the file will be the last passed test. Please edit the script to change your settings and start slow (with values that you know work without hanging your system). I only tested it with Phoenix 1.50 on Debian and Ubuntu, but changes required for other versions/miners should be minimal.

I hope it's useful! If there's interest, I can start a new thread for it and develop it some more (easier to configure and working with other miners, for example).
Bert
Full Member
***
Offline Offline

Activity: 126



View Profile
September 13, 2011, 02:11:37 PM
 #14

Line 82 of the script has a tiny mistake.
It is:
TIME=`+%s`
And it should be
TIME=`date '+%s'`

Looks like a great script - sent a donation.

Tip jar: 1BW6kXgUjGrFTqEpyP8LpVEPQDLTkbATZ6
ovidiusoft
Sr. Member
****
Offline Offline

Activity: 252


View Profile
September 13, 2011, 02:32:35 PM
 #15

You're right, sorry for that, vim seems to hate me lately. I fixed it, everyone please re-download.
Pages: [1]
  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!