настройка cgminer для linux

CGMiner v4.11.1: Скачать – Настройка майнера – Особенности и требования

CGMiner – наиболее эффективный софт для добычи криптовалют на видеокарте. Это ПО использует алгоритм NeoScrypt, который позволяет существенно прибавить к доходу от майнинга. Единственный минус CGMiner – отсутствие графического интерфейса, поэтому его настройка осуществляется через консоль. Из-за этой особенности, CGMiner называют программой для опытных майнеров. В данной статье мы покажем как пользоваться этим софтом. Надеемся, что данная информация будет вам полезна. Сразу же хотим отметить, что программа СиДжиМайнер больше подходит для майнинг ферм, состоящих из видеокарт от производителя AMD. Если вы владелец фермы из видеокарт NVIDIA, то лучше воспользуйтесь программой Claumore’s Dual Mining. К особенностям CGMiner можно отнести:

Скачать CGMiner v4.11.1

Скачать поcледнюю версию CGMiner можно по ссылке ниже.

Особенность программы

Программное обеспечение применяет алгоритм NeoScrypt. Это позволяет повысить прибыльность майнинга за счет генерирования отличного хэшрейта.

Разработчики создавали Cgminer тогда, когда добыча велась в основном на картах с чипом от AMD. Поэтому программа не имеет функционала работы со ставшей популярной позже технологией CUDA от NVidia. С видеокартами этого типа софт способен работать только по технологии OpenCL. Этот способ менее эффективен, поэтому держатели NVidia чаще всего выбирают другие приложения.

Плюсы:

Минусы:

Технические требования

Лучше всего, как показала практика, CGMiner работает под управлением Windows 7 64 бит. На Windows 10 или 8 производительность ниже, в среднем, на 3-5% (в зависимости от используемого шифрования). Программа позволяет майнить криптовалюту одновременно на 8 воркерах (то есть, 8 видеокарт на одну базовую станцию). Официального сайта майнера как такового нет, а форум, где можно обсудить любые вопросы за программу, её функциональность и настройки, расположен по адресу https://bitcointalk.org/index.php?topic=28402.0. Стоит заметить, что под 32-битные операционные системы приложение не работает (ввиду низкой производительности системы и ограничения в 2 гигабайта ОЗУ). А ещё бывалые майнеры утверждают, что так называемый Ccminer лучше подходит для видеокарт Radeon, нежели Nvidia. Примерная их производительность по алгоритму Scrypt следующая:

Видеокарта Производительность(kh/s)
Radeon 5970 705
Radeon 6990 775
Radeon7990 1245
R9 290 623
R9 290X 686
GeForce 750Ti 245
GeForce 650Ti 152

ак как CGMiner больше оптимизирован под Scrypt, то с его помощью лучше всего майнить Litecoin. Только с версии 3.7.2. была добавлена поддержка более популярного алгоритма SHA-256. Важно учесть, что Сgminer многочиповые видеокарты разделяет на 2 воркера (в случае с 2-я процессорами). Соответственно, при использовании таких устройств максимальное ограничение – до 4 адаптеров на станцию.

Под Asic такое приложение не подойдёт.

Настройка и параметры CGMiner

cgminer — указывает на запускающий файл

—scrypt — указывает майнеру алгоритм добываемой криптовалюты

-o — после этого указывается адрес пула tratum+tcp://east1.us.stratum.dedicatedpool.com: и порт 3351. Эти данные указаны на всех пулах, в разделе «Getting Started».

-u user.1 — указание логина на пуле и имя созданного там worker

-p x — указание пароля для созданного worker

Пример настройки bat файла под Windows

Так называемый Bat-файл «батник» нужен для задания нескольких необходимых параметров программе CGMiner.

Базовый вариант настройки исполняющего файла выглядит следующим образом:

Источник

CGMiner: Скачать, Настроить для Dogecoin и Litecoin

В этом руководстве рассмотрено как запустить и как пользоваться программой CGMiner версии 3.7.2 и выше.

Скачать для Windows/Linux

Что такое CGMiner?

Каковы алгоритмы?

Программа поддерживает следующие алгоритмы:

Разрабатывая программу, программисты акцентировали внимание на производительности своего софта. Поэтому она не самая удобная в использовании. Фактически для управления используется консоль с введением определенных команд, графической же оболочки нет. В результате этого новичкам может быть сложно работать с данным программным обеспечением.

Как пользоваться CGMiner

Есть два варианта, чтобы скачать программу:

На примере coinfoundry батник будет выглядеть вот так:

Впишите вместо DKs5E8nWJe2E5vYnVSoYqNjw2T17nGYUDo адрес своего Dogecoin кошелька.

Вы увидите следующее окно:

Нижняя строчка отображает хешрейт.

Видео Гид

Настройка bat файла

Настройка относительно проста, если знать все основные команды.

Cgminer –scrypt –o stratum+tcp\\:ссылка на пул:порт –u кошелек.1 – p x

На этом настройка bat файла в большей степени завершена.

Пример для dogecoin

Команды

Для получения тонкой конфигурации, необходимо использовать ряд специальных комманд:

—auto-fan – регулировка скорости работы кулера графического процессора, чтобы поддерживалась определенная температура. Устанавливает показатель автоматически.

—auto–gpu – устанавливается частота GPU, чтобы поддерживать определенную температуру. Работает в автоматически.

—device (-d) – определяет конкретную видеокарту. Стандартно программа запускает все, которые обнаруживает. Рядом ставится значение карты (к примеру, —device 1).

Отключить видеокарту

—disable-gpu (-G) – отключение графических процессоров.

—gpu-threads (-g) – установление суммы потоков на графическом процессоре. Устанавливается показатель от 1 до 10. Стандартно программа ставит 2. Значение ставится рядом с командой – —gpu-thread

—gpu-dyinterval – установка периода обновления в миллисекундах для видеоадаптеров с применением динамической интенсивности. стандартно стоит —gpu-dyinterval

—gpu-engine – установка показателя частоты для видеоадаптера. Допустимо введение как одного показателя, так и целого диапазона. Выглядит так: —gpu-engine 700 или 700-900.

—gpu-fan – установка скорости работы вентилятора в процентах, определенном значении или диапазоне. Выглядит это так: —gpu-fan 50 или 50-65.

—gpu-map – сопоставляет OpenCl с номером оборудования ADL вручную или парный CSV. К примеру, 1:0,2:1 показывает OpenCl 1 на ADL 0,2 на 1.

—gpu-memlock – задание частоты памяти. В случае добычи биткоина рекомендуем снизить, для лайткоина – поднять. Выглядит так: —gpu-memlock

—gpu-powertune – установка GPU powertune. Значение подбирается в %.

—gpu-reorder – пересортировка видеокарт.

—gpu-vddc` – изменение вольтажа на ядре. Вносятся данные в таком виде: —gpu-vddc125.

—intensity ( –I ) – устанавливает интенсивность. Диапазон выбираемых показателей – от одного до 14. Установка значения «d» – указывает, что показатель динамичный. Выглядит так: —intensity 10 или d.

—temp-hysteresis – указывается отличие температуры в ℃ от предполагаемого показателя. Стандартно стоит 3. Выглядит так: —temp-hysteresis

Как настроить в windows 10?

где XXX – это пароль к воркеру.

Обратите внимание, что майнер также совместим с Линукс и OSX. В случае Linux можно также подключить удаленный доступ. Однако нельзя будет так эффективно настроить работу видеоадаптера, как на Windows.

Как настроить CGMiner для майнинга криптовалют (Litecoin и Dogecoin)

Обзор

Программа нацелена исключительно на опытных пользователей, которые занимаются добычей криптовалют. Следовательно, функционал имеет многосторонний. Запущено ПО еще в 2011 году. С тех пор только улучшается и увеличивает свои положительные качества. Запуск был произведен с открытым исходным кодом, что позволяет быть уверенным в надежности программного обеспечения.

Главным разработчиком выступил Кон Коливас. Он также известен тем, что внес свою лепту в развитие Linux. При этом по профессии является анестезиологом, разработка программ для него простое хобби.

Программа признана наиболее эффективным софтом для добычи электронных токенов с задействованием видеоадаптеров AMD и NVidia.

Программное обеспечение позволяет повысить показатели работы видеоадаптеров, давая возможность выполнить тонкую настройку графических устройств.

На данных алгоритмах можно добывать большую часть известных цифровых монет. Она используется при добыче Биткоина, Догекоина, Монеро, Лайткоина и других известных цифровых токенов. Дает ряд преимуществ:

Главные особенности

Официальный сайт позволяет бесплатно скачать софт. Однако учтите, что последние версии программы акцентировали исключительно на АСИКах и FPGA, так как разработчики решили не продолжать поддерживать майнинг на центральных и видео процессорах. Использовать для них стоит старые релизы программного обеспечения. К ним относятся версии до 3.7.8.

В основном работать стоит на AMD, так как с CUDA ПО плохо работает. Для NVidia лучше подобрать другой майнер, к примеру, Claymore.

Программа имеет несколько интересных моментов. Одним из них является внедрение инструментов, чтобы разгонять графические процессоры и устанавливать нужную частоту вращения вентиляторов в системе охлаждения. Правда, использовать этот функционал стоит осторожно, так как высок шанс испортить оборудование и отправить его в утиль.

Также программа предоставляет информацию по настройке, автоматически выключает worker, вызывающие проблемы или просто не работающие. Можно задействовать прокси, стратегию «Загрузки баланса» и Round Robin. Благодаря этому майнеры могут самостоятельно вносить параметры ширины векторов, сроки режима ожидания для восстановления соединения, создавать заданную задержку для маршрутизатора и настраивать отдельный показ оповещений. Работа программы настраивается через специальный файл с конфигурацией.

Выводы

Существует огромное количество криптовалютных программ, помогающих настроить оборудование для добычи цифровых токенов. Их называют майнерами – это специальное программное обеспечение, позволяющие сделать работу оборудования максимально эффективно. Однако, не все они успешны, одни имеют плохой функционал, другие – сложный интерфейс. Cgminer – одна из немногих программ, которая доказала свою эффективность опытным путем. Ей пользуется огромное количество майнеров по всему миру.

Источник

CGMiner Setup Guide

You can use this list as a reference for all Launch Parameters supported by CGMiner.

Download

This is a multi-threaded multi-pool FPGA and ASIC miner for bitcoin.

This code is provided entirely free of charge by the programmer in his spare time so donations would be greatly appreciated. Please consider donating to the address below. Driver development for new ASIC only bitcoin hardware can be suitably sponsored.

NOTE: This code is licensed under the GPLv3. This means that the source to any modifications you make to this code MUST be provided by law if you distribute modified binaries. See COPYING for details.

Sample Usages

EXECUTIVE SUMMARY ON USAGE:

Single pool with a standard http proxy:

Single pool with a socks5 proxy:

Single pool with stratum protocol support:

Solo mining to local bitcoind:

The list of proxy types are:

If you compile cgminer with a version of CURL before 7.19.4 then some of the above will not be available. All are available since CURL version 7.19.4

If you specify the –socks-proxy option to cgminer, it will only be applied to all pools that don’t specify their own proxy setting like above.

After saving configuration from the menu, you do not need to give cgminer any arguments and it will load your configuration.

Any configuration file may also contain a single «include» : «filename» to recursively include another configuration file.

Writing the configuration will save all settings from all files in the output.

BUILDING CGMINER FOR YOURSELF

curses dev library

(libncurses5-dev or libpdcurses on WIN32 for text user interface)

libusb-1 dev library (libusb-1.0-0-dev)

(This is only required for USB device support)

libudev dev library (libudev-dev)

(This is only required for USB device support and is linux only)

uthash dev (uthash-dev)

Will use a copy included with the source if unavailable.

libjansson dev (libjansson-dev)

Will use a copy included with the source if unavailable.

If building from git:

If building on Ubuntu:

sudo apt-get install build-essential autoconf automake libtool pkg-config \

CGMiner specific configuration options:

–enable-ants1 Compile support for Antminer S1 Bitmain (default

–enable-ants2 Compile support for Antminer S2 Bitmain (default

–enable-avalon Compile support for Avalon (default disabled)

–enable-avalon2 Compile support for Avalon2/3 (default disabled)

–enable-avalon4 Compile support for Avalon4/4.1/6 (default disabled)

–enable-avalon7 Compile support for Avalon7 (default disabled)

–enable-avalon8 Compile support for Avalon8 (default disabled)

–enable-bab Compile support for BlackArrow Bitfury (default

–enable-bflsc Compile support for BFL ASICs (default disabled)

–enable-bitforce Compile support for BitForce FPGAs (default

–enable-bitfury Compile support for BitFury ASICs (default disabled)

–enable-bitmine_A1 Compile support for Bitmine.ch A1 ASICs (default

–enable-blockerupter Compile support for ASICMINER BlockErupter Tube/Prisma

–enable-cointerra Compile support for Cointerra ASICs (default disabled)

–enable-drillbit Compile support for Drillbit BitFury ASICs (default

–enable-hashfast Compile support for Hashfast (default disabled)

–enable-icarus Compile support for Icarus (default disabled)

–enable-klondike Compile support for Klondike (default disabled)

–enable-knc Compile support for KnC miners (default disabled)

–enable-minion Compile support for Minion BlackArrow ASIC (default

–enable-modminer Compile support for ModMiner FPGAs(default disabled)

–enable-sp10 Compile support for Spondoolies SP10 (default

–enable-sp30 Compile support for Spondoolies SP30 (default

–disable-libcurl Disable building with libcurl for GBT support

–enable-libsystemd Compile support for system watchdog and status

–without-curses Compile support for curses TUI (default enabled)

–with-system-jansson Compile against dynamic system jansson (default use

Basic *nix build instructions:

./autogen.sh # only needed if building from git repo

No installation is necessary. You may run cgminer from the build

directory directly, but you may do make install if you wish to install

cgminer to a system location or location you specified.

Building for windows:

It is actually easiest to build a windows binary using cross compilation tools

provided by “mxe” available at http://mxe.cc/ (use the 32 bit one!)

Once you have followed the instructions for building mxe:

Native WIN32 build instructions: see windows-build.txt but these instructions

are now hopelessly out of date.

Usage instructions: Run “cgminer –help” to see options:

Usage: cgminer [-DdElmpPQqUsTouOchnV]

Options for both config file and command line:

–api-listen Enable API, default: disabled

–api-mcast Enable API Multicast listener, default: disabled

–api-network Allow API (if enabled) to listen on/for any address, default: only 127.0.0.1

–avalon-auto Adjust avalon overclock frequency dynamically for best hashrate

–avalon2-freq Set frequency range for Avalon2, single value or range

–avalon2-voltage Set Avalon2 core voltage, in millivolts

–avalon2-fan Set Avalon2 target fan speed

–avalon2-fixed-speed Set Avalon2 fan to fixed speed

–avalon4-automatic-voltage Automatic adjust voltage base on module DH

–avalon4-voltage Set Avalon4 core voltage, in millivolts, step: 125

–avalon4-freq Set frequency for Avalon4, 1 to 3 values, example: 445:385:370

–avalon4-fan Set Avalon4 target fan speed range

–avalon4-freezesafe Make Avalon4 running as a radiator when stratum server failed

–avalon4-noncecheck-off Disable A3218 inside nonce check function

–avalon7-voltage Set Avalon7 default core voltage, in millivolts, step: 78

–avalon7-voltage-level Set Avalon7 default level of core voltage, range:[0, 15], step: 1

–avalon7-voltage-offset Set Avalon7 default offset of core voltage, range:[-2, 1], step: 1

–avalon7-freq Set Avalon7 default frequency, range:[24, 1404], step: 12, example: 500

–avalon7-fan Set Avalon7 target fan speed, range:[0, 100], step: 1, example: 0-100

–avalon7-iic-detect Enable Avalon7 detect through iic controller

–no-avalon7-asic-debug Disable A3212 debug.

–avalon8-voltage-level Set Avalon8 default level of core voltage, range:[0, 15], step: 1

–avalon8-voltage-level-offset Set Avalon8 default offset of core voltage level, range:[-2, 1], step: 1

–avalon8-freq Set Avalon8 default frequency, range:[25, 1200], step: 25, example: 800

–avalon8-fan Set Avalon8 target fan speed, range:[0, 100], step: 1, example: 0-100

–avalon8-iic-detect Enable Avalon8 detect through iic controller

–avalon8-cinfo-asic Set Avalon8 cinfo asic index, range:[0, 25], step: 1

–balance Change multipool strategy from failover to even share balance

–benchfile-display Display each benchfile nonce found

–bfl-range Use nonce range on bitforce devices if supported

–bitmain-auto Adjust bitmain overclock frequency dynamically for best hashrate

–bitmain-hwerror Set bitmain device detect hardware error

–bitmainbeeper Set bitmain beeper ringing

–bitmaintempoverctrl Set bitmain stop runing when temprerature is over 80 degree Celsius

–compact Use compact display without per device statistics

–debug -D Enable debug output

–decode Decode 2nd pool stratum coinbase transactions (1st must be bitcoind) and exit

–disable-rejecting Automatically disable pools that continually reject shares

–T1efficient Tune Dragonmint T1 per chain voltage and frequency for optimal efficiency

–T1noauto Disable Dragonmint T1 per chain auto voltage and frequency tuning

–T1performance Tune Dragonmint T1 per chain voltage and frequency for maximum performance

–failover-only Don’t leak work to backup pools when primary pool is lagging

–fix-protocol Do not redirect to stratum protocol from GBT

–hfa-noshed Disable hashfast dynamic core disabling feature

–hro-freq Set the hashratio clock frequency (default: 280)

–load-balance Change multipool strategy from failover to quota based balance

–lowmem Minimise caching of shares for low memory applications

–minion-freqchange Millisecond total time to do frequency changes (default: 1000)

–minion-freqpercent Percentage to use when starting up a chip (default: 70%)

–minion-idlecount Report when IdleCount is >0 or changes

–minion-ledcount Turn off led when more than this many chips below the ledlimit (default: 0)

–minion-ledlimit Turn off led when chips GHs are below this (default: 90)

–minion-noautofreq Disable automatic frequency adjustment

–minion-overheat Enable directly halting any chip when the status exceeds 100C

–minion-spidelay Add a delay in microseconds after each SPI I/O

–minion-spisleep Sleep time in milliseconds when doing an SPI reset

–net-delay Impose small delays in networking to not overload slow routers

–no-submit-stale Don’t submit shares if they are detected as stale

–per-device-stats Force verbose mode and output per-device statistics

–protocol-dump -P Verbose dump of protocol-level activities
–queue -Q Minimum number of work items to have queued (0+) (default: 1)
–quiet -q Disable logging output, display status and errors
–quota -U quota;URL combination for server with load-balance strategy quotas

–real-quiet Disable all output

–round-robin Change multipool strategy from failover to round robin on failure

–syslog Use system log for output messages (default: standard error)

–text-only -T Disable ncurses formatted screen output
–url -o URL for bitcoin JSON-RPC server

–verbose Log verbose output to stderr as well as status output

–widescreen Use extra wide display without toggling

–worktime Display extra work time debug information

Options for command line only:

See example.conf for an example configuration.

Loaded at start and used when saving without a name.

–help -h Print this message
–ndevs -n Display all USB devices and exit
–version -V Display version and exit

Silent USB device (ASIC and FPGA) options:

–usb-dump (See FPGA-README)

See FGPA-README or ASIC-README for more information regarding these.

–avalon-auto Adjust avalon overclock frequency dynamically for best hashrate

–avalon2-freq Set frequency range for Avalon2, single value or range

–avalon2-voltage Set Avalon2 core voltage, in millivolts

–avalon2-fan Set Avalon2 target fan speed

–avalon2-fixed-speed Set Avalon2 fan to fixed speed

–avalon4-automatic-voltage Automatic adjust voltage base on module DH

–avalon4-voltage Set Avalon4 core voltage, in millivolts, step: 125

–avalon4-freq Set frequency for Avalon4, 1 to 3 values, example: 445:385:370

–avalon4-fan Set Avalon4 target fan speed range

–avalon7-voltage Set Avalon7 default core voltage, in millivolts, step: 78

–avalon7-voltage-level Set Avalon7 default level of core voltage, range:[0, 15], step: 1

–avalon7-voltage-offset Set Avalon7 default offset of core voltage, range:[-2, 1], step: 1

–avalon7-freq Set Avalon7 default frequency, range:[24, 1404], step: 12, example: 500

–avalon7-fan Set Avalon7 target fan speed, range:[0, 100], step: 1, example: 0-100

–avalon7-iic-detect Enable Avalon7 detect through iic controller

–no-avalon7-asic-debug Disable A3212 debug.

–avalon8-voltage-level Set Avalon8 default level of core voltage, range:[0, 15], step: 1

–avalon8-voltage-level-offset Set Avalon8 default offset of core voltage level, range:[-2, 1], step: 1

–avalon8-freq Set Avalon8 default frequency, range:[25, 1200], step: 25, example: 800

–avalon8-fan Set Avalon8 target fan speed, range:[0, 100], step: 1, example: 0-100

–avalon8-iic-detect Enable Avalon8 detect through iic controller

–avalon8-cinfo-asic Set Avalon8 cinfo asic index, range:[0, 25], step: 1

–T1efficient Tune Dragonmint T1 per chain voltage and frequency for optimal efficiency

–T1noauto Disable Dragonmint T1 per chain auto voltage and frequency tuning

–T1performance Tune Dragonmint T1 per chain voltage and frequency for maximum performance

–hfa-noshed Disable hashfast dynamic core disabling feature

–hro-freq Set the hashratio clock frequency (default: 280)

See ASIC-README for more information regarding these.

–bfl-range Use nonce range on bitforce devices if supported

See FGPA-README for more information regarding this.

Cgminer should automatically find all of your Avalon ASIC, BFL ASIC, BitForce

FPGAs, Icarus bitstream FPGAs, Klondike ASIC, ASICMINER usb block erupters,

KnC ASICs, BaB ASICs, Hashfast ASICs, ModMiner FPGAs, BPMC/BGMC BF1 USB ASICs,

Bi*fury USB ASICs, Onestring miner USB ASICs, Hexfury USB ASICs, Nanofury USB

ASICs, Antminer U1/U2/U2+ U3 USB ASICs, Cointerra devices, BFx2 USB ASICs,

Rockminer R-Box/RK-Box/T1 USB ASICs, Avalon2/3/4 USB ASICs and Hashratio USB

SETTING UP USB DEVICES

On windows, the direct USB support requires the installation of a WinUSB

driver (NOT the ftdi_sio driver), and attach it to the chosen USB device.

When configuring your device, plug it in and wait for windows to attempt to

install a driver on its own. It may think it has succeeded or failed but wait

for it to finish regardless. This is NOT the driver you want installed. At this

point you need to associate your device with the WinUSB driver. The easiest

way to do this is to use the zadig utility which you must right click on and

run as administrator. Then once you plug in your device you can choose the

“list all devices” from the “option” menu and you should be able to see the

device as something like: “BitFORCE SHA256 SC”. Choose the install or replace

driver option and select WinUSB. You can either google for zadig or download

it from the cgminer directory in the DOWNLOADS link above.

When you first switch a device over to WinUSB with zadig and it shows that

correctly on the left of the zadig window, but it still gives permission

errors, you may need to unplug the USB miner and then plug it back in. Some

users may need to reboot at this point.

sudo cp 01-cgminer.rules /etc/udev/rules.d/

On linux, the direct USB support requires no drivers at all. However due to

permissions issues, you may not be able to mine directly on the devices as a

regular user without giving the user access to the device or by mining as

root (administrator). In order to give your regular user access, you can make

him a member of the plugdev group with the following commands:

If your distribution does not have the plugdev group you can create it with:

sudo groupadd plugdev

In order for the USB devices to instantly be owned by the plugdev group and

accessible by anyone from the plugdev group you can copy the file

“01-cgminer.rules” from the cgminer archive into the /etc/udev/rules.d

directory with the following command:

sudo cp 01-cgminer.rules /etc/udev/rules.d/

After this you can either manually restart udev and re-login, or more easily

On OSX, like Linux, no drivers need to be installed. However some devices

like the bitfury USB sticks automatically load a driver thinking they’re a

modem and the driver needs to be unloaded for cgminer to work:

There may be a limit to the number of USB devices that you are allowed to start.

The following set of commands, followed by a reboot will increase that:

Some devices need superuser access to mine on them so cgminer may need to

be started with sudo

Advanced USB options:

The –usb option can restrict how many USB devices are found:

You can only use one of the above 3

allows you to select which devices to mine on with a list of USB

All other USB devices will be ignored

Hotplug will also only look at the devices matching the list specified and

find nothing new if they are all in use

You can specify just the USB bus_number to find all devices like 1:*

which means any devices on USB bus_number 1

This is useful if you unplug a device then plug it back in the same port,

it usually reappears with the same bus_number but a different device_address

You can see the list of all USB devices on linux with ‘sudo lsusb’

Cgminer will list the recognised USB devices

with the ‘-n’ option or the

The ‘–usb-dump N’ option with a value of N greater than 0 will dump a lot

of details about each recognised USB device

If you wish to see all USB devices, include the –usb-list-all option

The second version

allows you to specify how many devices to choose based on each device

AVA, BAS, BFL, BF1, DRB, HFA, ICA, KLN and MMQ.

N.B. you can only specify which device driver to limit, not the type of

each device, e.g. with BAS:n you can limit how many BFL ASIC devices will

be checked, but you cannot limit the number of each type of BFL ASIC

Also note that the MMQ count is the number of MMQ backplanes you have

not the number of MMQ FPGAs

means only use a maximum of 10 devices of any supported USB devices

Once cgminer has 10 devices it will not configure any more and hotplug will

not scan for any more

–usb :0 will disable all USB I/O other than to initialise libusb

The following options are available while running with a single keypress:

[U]SB management [P]ool management [S]ettings [D]isplay options [Q]uit

[S]ummary of device information

[U]nplug to allow hotplug restart

[L]ist all known devices

[B]lacklist current device from current instance of cgminer

[W]hitelist previously blacklisted device

[H]otplug interval (0 to disable)

Current pool management strategy: Failover

[F]ailover only disabled

[A]dd pool [R]emove pool [D]isable pool [E]nable pool

[C]hange management strategy [S]witch pool [I]nformation

[N]ormal [C]lear [S]ilent mode (disable all output)

[T]oggle status switching:enabled

Q quits the application.

The running log shows output like this:

[2013-11-09 11:04:41] Accepted 01b3bde7 Diff 150/128 AVA 1 pool 0

[2013-11-09 11:04:49] Accepted 015df995 Diff 187/128 AVA 1 pool 0

[2013-11-09 11:04:50] Accepted 01163b68 Diff 236/128 AVA 1 pool 0

[2013-11-09 11:04:53] Accepted 9f745840 Diff 411/128 BAS 1 pool 0

The 8 byte hex value are the 1st nonzero bytes of the share being submitted to

the pool. The 2 diff values are the actual difficulty target that share reached

followed by the difficulty target the pool is currently asking for.

Also many issues and FAQs are covered in the forum thread

dedicated to this program,

The display is roughly split into two portions, the top status window and the

bottom scrolling log window.

The status window is split into overall status and per device status.

The output line shows the following:

(5s):2.469T (1m):2.677T (5m):2.040T (15m):1.014T (avg):2.733Th/s

These are exponentially decaying average hashrates over 5s/1m/5m/15m and an

average since the start.

A:290391 R:5101 HW:145 WU:37610.4/m

Each column is as follows:

A: The total difficulty of Accepted shares

R: The total difficulty of Rejected shares

HW: The number of HardWare errors

WU: The Work Utility defined as the number of diff1 shares work / minute

(accepted or rejected).

ST: 22 SS: 0 NB: 2 LW: 356090 GF: 0 RF: 0

ST is STaged work items (ready to use).

SS is Stale Shares discarded (detected and not submitted so don’t count as rejects)

NB is New Blocks detected on the network

LW is Locally generated Work items

GF is Getwork Fail Occasions (server slow to provide work)

RF is Remote Fail occasions (server slow to accept work)

Connected to pool.com diff 3.45K with stratum as user me

The diff shown is the current vardiff requested by the pool currently being

Block: ca0d237f… Diff:5.01G Started: [00:14:27] Best share: 1.18M

This shows a short stretch about the current block, when the new block started,

and the all time best difficulty share you’ve found since starting cgminer

6: HFS Random : 645MHz 85C 13% 0.79V 2.152T / 1.351Th/s

Each column is as follows:

Temperature (if supported)

Fanspeed (if supported)

Voltage (if supported)

A 5 second exponentially decaying average hash rate

An all time average hash rate

6: HFS Random : 645MHz 86C 13% 0.80V A:290348 R:1067 HW:88 WU:18901.8/m

The total difficulty of accepted shares

The total difficulty of rejected shares

The number of hardware erorrs

The work utility defined as the number of diff1 shares work / minute

All running information is shown here, usually share submission results and

block update notifications, along with device messages and warnings.

[2014-03-29 00:24:09] Accepted 1397768d Diff 3.35K/2727 HFS 0 pool 0

[2014-03-29 00:24:13] Stratum from pool 0 detected new block

FAILOVER STRATEGIES WITH MULTIPOOL:

A number of different strategies for dealing with multipool setups are

available. Each has their advantages and disadvantages so multiple strategies

are available by user choice, as per the following list:

The default strategy is failover. This means that if you input a number of

pools, it will try to use them as a priority list, moving away from the 1st

to the 2nd, 2nd to 3rd and so on. If any of the earlier pools recover, it will

move back to the higher priority ones.

This strategy only moves from one pool to the next when the current one falls

idle and makes no attempt to move otherwise.

This strategy moves at user-defined intervals from one active pool to the next,

skipping pools that are idle.

This strategy sends work to all the pools on a quota basis. By default, all

pools are allocated equal quotas unless specified with –quota. This

apportioning of work is based on work handed out, not shares returned so is

independent of difficulty targets or rejected shares. While a pool is disabled

or dead, its quota is dropped until it is re-enabled. Quotas are forward

looking, so if the quota is changed on the fly, it only affects future work.

If all pools are set to zero quota or all pools with quota are dead, it will

fall back to a failover mode. See quota below for more information.

The failover-only flag has special meaning in combination with load-balance

mode and it will distribute quota back to priority pool 0 from any pools that

are unable to provide work for any reason so as to maintain quota ratios

between the rest of the pools.

This strategy monitors the amount of difficulty 1 shares solved for each pool

and uses it to try to end up doing the same amount of work for all pools.

The load-balance multipool strategy works off a quota based scheduler. The

quotas handed out by default are equal, but the user is allowed to specify any

arbitrary ratio of quotas. For example, if all the quota values add up to 100,

each quota value will be a percentage, but if 2 pools are specified and pool0

is given a quota of 1 and pool1 is given a quota of 9, pool0 will get 10% of

the work and pool1 will get 90%. Quotas can be changed on the fly by the API,

and do not act retrospectively. Setting a quota to zero will effectively

disable that pool unless all other pools are disabled or dead. In that

scenario, load-balance falls back to regular failover priority-based strategy.

While a pool is dead, it loses its quota and no attempt is made to catch up

when it comes back to life.

To specify quotas on the command line, pools should be specified with a

–url are given a nominal quota value of 1 and entries can be mixed.

Will give poola 1/3 of the work and poolb 2/3 of the work.

Writing configuration files with quotas is likewise supported. To use the above

quotas in a configuration file they would be specified thus:

Источник

Читайте также:  как сменить пароль для входа в компьютер windows 10
Образовательный портал