Bitcoin Forum

Bitcoin => Mining support => Topic started by: enforcerz on February 09, 2020, 10:01:57 AM



Title: Avalon 8 frequency manually adjust problem
Post by: enforcerz on February 09, 2020, 10:01:57 AM
Hi, I've tried to use --avalon8-freq command with no success.
I want to tune my avalon 851 and 852 for running between low-power and balance mode.
My target is to run at 11.5Th/s / 1200W / fairly quiet @ 4200RPM / >= 95C chip temp
I've try both --avalon8-freq 625 and --avalon8-freq 600-650
The miner not hashing at all.
Thanks.


Title: Re: Avalon 8 frequency manually adjust problem
Post by: philipma1957 on February 09, 2020, 03:14:23 PM
Hi, I've tried to use --avalon8-freq command with no success.
I want to tune my avalon 851 and 852 for running between low-power and balance mode.
My target is to run at 11.5Th/s / 1200W / fairly quiet @ 4200RPM / >= 95C chip temp
I've try both --avalon8-freq 625 and --avalon8-freq 600-650
The miner not hashing at all.
Thanks.

I was never able to adjust the 851 or 852 miners  with any good success.  In fact  the last really good avalon for adjusting were my 841's.

Good luck trying with yours. Maybe you can succeed.


Title: Re: Avalon 8 frequency manually adjust problem
Post by: PassThePopcorn on February 10, 2020, 09:03:37 PM
Syntax error, take a look at the documentation for the driver and what the command you are inputting are.


Title: Re: Avalon 8 frequency manually adjust problem
Post by: enforcerz on February 21, 2020, 12:36:30 AM
Syntax error, take a look at the documentation for the driver and what the command you are inputting are.

Code:
--avalon8-freq      Set Avalon8 default frequency, range:[25, 1200], step: 25, example: 800
--avalon8-freq-sel <arg> Set Avalon8 default frequency select, range:[0, 3], step: 1, example: 3 (default: 3)

Code:
char *set_avalon8_freq(char *arg)
{
int val[AVA8_DEFAULT_PLL_CNT];
char *colon, *data;
int i;

if (!(*arg))
return NULL;

data = arg;
memset(val, 0, sizeof(val));

for (i = 0; i < AVA8_DEFAULT_PLL_CNT; i++) {
colon = strchr(data, ':');
if (colon)
*(colon++) = '\0';
else {
/* last value */
if (*data) {
val[i] = atoi(data);
if (val[i] > AVA8_DEFAULT_FREQUENCY_MAX)
return "Invalid value passed to avalon8-freq";
}
break;
}

if (*data) {
val[i] = atoi(data);
if (val[i] > AVA8_DEFAULT_FREQUENCY_MAX)
return "Invalid value passed to avalon8-freq";
}
data = colon;
}

for (i = 0; i < AVA8_DEFAULT_PLL_CNT; i++)
opt_avalon8_freq[i] = val[i];

return NULL;
}

I'm so confused, can you give me some clue? Thank you.