Bitcoin Forum
April 19, 2024, 11:02:22 PM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: [CLOSED] Need bash script for OC tweaking  (Read 1158 times)
gusti (OP)
Legendary
*
Offline Offline

Activity: 1099
Merit: 1000


View Profile
September 08, 2011, 08:06:53 PM
Last edit: September 12, 2011, 09:56:41 PM by gusti
 #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.
1713567742
Hero Member
*
Offline Offline

Posts: 1713567742

View Profile Personal Message (Offline)

Ignore
1713567742
Reply with quote  #2

1713567742
Report to moderator
1713567742
Hero Member
*
Offline Offline

Posts: 1713567742

View Profile Personal Message (Offline)

Ignore
1713567742
Reply with quote  #2

1713567742
Report to moderator
If you see garbage posts (off-topic, trolling, spam, no point, etc.), use the "report to moderator" links. All reports are investigated, though you will rarely be contacted about your reports.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713567742
Hero Member
*
Offline Offline

Posts: 1713567742

View Profile Personal Message (Offline)

Ignore
1713567742
Reply with quote  #2

1713567742
Report to moderator
1713567742
Hero Member
*
Offline Offline

Posts: 1713567742

View Profile Personal Message (Offline)

Ignore
1713567742
Reply with quote  #2

1713567742
Report to moderator
1713567742
Hero Member
*
Offline Offline

Posts: 1713567742

View Profile Personal Message (Offline)

Ignore
1713567742
Reply with quote  #2

1713567742
Report to moderator
gusti (OP)
Legendary
*
Offline Offline

Activity: 1099
Merit: 1000


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
Merit: 10


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 (OP)
Legendary
*
Offline Offline

Activity: 1099
Merit: 1000


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 (OP)
Legendary
*
Offline Offline

Activity: 1099
Merit: 1000


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 (OP)
Legendary
*
Offline Offline

Activity: 1099
Merit: 1000


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
Merit: 100



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 (OP)
Legendary
*
Offline Offline

Activity: 1099
Merit: 1000


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
Legendary
*
Offline Offline

Activity: 1428
Merit: 1000


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

would you share it?
gusti (OP)
Legendary
*
Offline Offline

Activity: 1099
Merit: 1000


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
Merit: 250


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 (OP)
Legendary
*
Offline Offline

Activity: 1099
Merit: 1000


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
Merit: 250


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
Merit: 100



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
Merit: 250


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:  

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