Post
Topic
Board Mining (Altcoins)
Re: [OS] nvOC easy-to-use Linux Nvidia Mining v0018
by
jotun
on 28/08/2017, 18:43:55 UTC
Dont know if its been asked/suggested or not
I thought it would be good to implement some thing similar to nicehash oc settings for manual mine too
So when we change coin, 1bash automatically switch oc profile

Looking for something similar, maybe we can narrow down it to based on algo which is going to be used!?

not to elegant but for now I do this(v0018):
Code:
INDIVIDUAL_CLOCKS="YES"         # YES NO

if [ $COIN == "ETH" -o $COIN == "ETC" ]
then
    if [ $INDIVIDUAL_CLOCKS == "NO" ]
    then
        __CORE_OVERCLOCK=0
        MEMORY_OVERCLOCK=1210
    elif [ $INDIVIDUAL_CLOCKS == "YES" ]
    then
        __CORE_OVERCLOCK_0=0
        MEMORY_OVERCLOCK_0=1300
        __CORE_OVERCLOCK_1=0
        MEMORY_OVERCLOCK_1=1300
        __CORE_OVERCLOCK_2=0       
        MEMORY_OVERCLOCK_2=1200
        __CORE_OVERCLOCK_3=0
        MEMORY_OVERCLOCK_3=1200
        __CORE_OVERCLOCK_4=0
        MEMORY_OVERCLOCK_4=1600
        __CORE_OVERCLOCK_5=0
        MEMORY_OVERCLOCK_5=1200
        __CORE_OVERCLOCK_6=0       
        MEMORY_OVERCLOCK_6=1200
    fi
elif [ $COIN == "DUAL_ETH_SC" ]
then
    __CORE_OVERCLOCK=110
    MEMORY_OVERCLOCK=1100
elif [ $COIN == "ZEC" ]
then
    if [ $INDIVIDUAL_CLOCKS == "NO" ]
    then
        __CORE_OVERCLOCK=105   
        MEMORY_OVERCLOCK=1200
    elif [ $INDIVIDUAL_CLOCKS == "YES" ]
    then
        __CORE_OVERCLOCK_0=104
        MEMORY_OVERCLOCK_0=1230
        __CORE_OVERCLOCK_1=104
        MEMORY_OVERCLOCK_1=1225
        __CORE_OVERCLOCK_2=120
        MEMORY_OVERCLOCK_2=1300
        __CORE_OVERCLOCK_3=104
        MEMORY_OVERCLOCK_3=1225
        __CORE_OVERCLOCK_4=105
        MEMORY_OVERCLOCK_4=1300
        __CORE_OVERCLOCK_5=105
        MEMORY_OVERCLOCK_5=1235
        __CORE_OVERCLOCK_6=104
        MEMORY_OVERCLOCK_6=1235
    fi
fi
 
# Set individual clocks here if INDIVIDUAL_CLOCKS="YES"
#__CORE_OVERCLOCK_0=100
#MEMORY_OVERCLOCK_0=1230
#__CORE_OVERCLOCK_1=100
#MEMORY_OVERCLOCK_1=1230
#__CORE_OVERCLOCK_2=100
#MEMORY_OVERCLOCK_2=1230
#__CORE_OVERCLOCK_3=100
#MEMORY_OVERCLOCK_3=1230
#__CORE_OVERCLOCK_4=130
#MEMORY_OVERCLOCK_4=1310
#__CORE_OVERCLOCK_5=100
#MEMORY_OVERCLOCK_5=1220
#__CORE_OVERCLOCK_6=100
#MEMORY_OVERCLOCK_6=1215
...etc

we need to modularise 1bash, 1 settings file for each coin(or a settings db) would be nice, don't have to much time on my hands right now but when I do I'll think of something and ask my man fullzero to include it if he likes it.