Skip to content
This repository has been archived by the owner on Jun 27, 2019. It is now read-only.

Algorithm ExtraLaunchParameters

Stanko Krstić edited this page Jul 7, 2017 · 10 revisions

Algorithm ExtraLaunchParameters

How does it work:

If you are an advanced user that wants to tweak the performance of your GPUs or CPUs you can set supported options in the ExtraLaunchParameters for selected Device and Algorithm.

If you have 3 AMD devices with the following ExtraLaunchParameters settings for algorithm A and B:

  • device1 --xintensity 1024 --worksize 64 --gputhreads 2
  • device2 --xintensity 512 --worksize 128 --gputhreads 2
  • device3 --xintensity 512 --worksize 64 --gputhreads 4

If algorithm A is most profitable for device1 and device2 and algorithm B for device3, NiceHashMiner will run two sgminers for A and B like so:

  • sgminer .. --xintensity 1024,512 --worksize 64,128 --gputhreads 2,2 .. (device1 and device2)
  • sgminer .. --xintensity 512 --worksize 64 --gputhreads 4 .. (device3)

If algorithm A is most profitable for all three devices, NiceHashMiner will run two sgminers for A like so:

  • sgminer .. --xintensity 1024,512,512 --worksize 64,128,64 --gputhreads 2,2,4 .. (device1, device2, device3)

So when setting ExtraLaunchParameters set them per device and algorithm NiceHashMiner will group them accordingly. If you leave ExtraLaunchParameters empty the defaults will be used or ignored if no parameters have been set.

Supported options

NVIDIA ccminers

  • --intensity= or -i (if not set default 0 or ignored if unused)

NVIDIA ccminer CryptoNight

  • --launch= or -l (if not set default 8x40 or ignored if unused)
  • --bfactor= (if not set default 0 or ignored if unused)
  • --bsleep= (if not set default 0 or ignored if unused)

NVIDIA ethminer DaggerHashimoto

  • --cuda-block-size (if not set default 128 or ignored if unused)
  • --cuda-grid-size (if not set default 8192 or ignored if unused)

NVIDIA excavator (Equihash and Pascal)

  • -c1 (if not set default 0 or ignored if unused)
  • -c2 (if not set default 0 or ignored if unused)
  • -ct (if not set default 1 for Pascal 2 for Equihash or ignored if unused)

AMD sgminer

  • --keccak-unroll (if not set default 0 or ignored if unused)
  • --hamsi-expand-big (if not set default 4 or ignored if unused)
  • --nfactor (if not set default 10 or ignored if unused)
  • --intensity or -I (if not set default d or ignored if unused)
  • --xintensity or -X (if not set default -1 or ignored if unused, overrides --intensity)
  • --rawintensity (if not set default -1 or ignored if unused, overrides --xintensity)
  • --thread-concurrency (if not set default -1 or ignored if unused)
  • --worksize or -w (if not set default -1 or ignored if unused)
  • --gpu-threads or -g (if not set default -1 or ignored if unused)
  • --lookup-gap (if not set default -1 or ignored if unused)
  • --remove-disabled (enabled by default)

AMD sgminer Temperature Control (if Temperature Control disabled all options will be ignored)

  • --gpu-fan (if not set default 30-60)
  • --temp-cutoff (if not set default 95)
  • --temp-overheat (if not set default 85)
  • --temp-target (if not set default 75)
  • --auto-fan (if not set default it means it will not be used)
  • --auto-gpu (if not set default it means it will not be used)

AMD ClaymoreZcash Equihash

  • -a (if not set default 0 or ignored if unused)
  • -asm (if not set default 1 or ignored if unused)
  • -i (if not set default 4 or ignored if unused)
  • -wd (if not set default 1 or ignored if unused)
  • -nofee (if not set option will be ignored)
  • -li (if not set option will be ignored)
  • -cclock (if not set option will be ignored)
  • -mclock (if not set option will be ignored)
  • -powlim (if not set option will be ignored)
  • -cvddc (if not set option will be ignored)
  • -mvddc (if not set option will be ignored)

AMD ClaymoreZcash Equihash Temperature Control (if Temperature Control disabled all options will be ignored)

  • -tt (if not set option will be ignored)
  • -ttli (if not set option will be ignored)
  • -tstop (if not set option will be ignored)
  • -fanmax (if not set option will be ignored)
  • -fanmin (if not set option will be ignored)

AMD Claymore CryptoNight

  • -a (if not set default 0 or ignored if unused)
  • -wd (if not set default 1 or ignored if unused)
  • -nofee (if not set option will be ignored)
  • -li (if not set option will be ignored)
  • -h (if not set default 0 or ignored if unused)
  • -cclock (if not set option will be ignored)
  • -mclock (if not set option will be ignored)
  • -powlim (if not set option will be ignored)
  • -cvddc (if not set option will be ignored)
  • -mvddc (if not set option will be ignored)

AMD Claymore CryptoNight Temperature Control (if Temperature Control disabled all options will be ignored)

  • -tt (if not set option will be ignored)
  • -tstop (if not set option will be ignored)
  • -fanmax (if not set option will be ignored)
  • -fanmin (if not set option will be ignored)

AMD ClaymoreDual

  • -etha (if not set default -1 or ignored if unused)
  • -ethi (if not set default 8 or ignored if unused)
  • -asm (if not set default 1 or ignored if unused)
  • -i (if not set default 4 or ignored if unused)
  • -wd (if not set default 1 or ignored if unused)
  • -nofee (if not set option will be ignored)
  • -li (if not set option will be ignored)
  • -eres (if not set default 2 or ignored if unused)
  • -erate (if not set default 1 or ignored if unused)
  • -estale (if not set default 1 or ignored if unused)
  • -gser (if not set default 0 or ignored if unused)
  • -retrydelay (if not set default 20 or ignored if unused)
  • -lidag (if not set default 0 or ignored if unused)
  • -cclock (if not set option will be ignored)
  • -mclock (if not set option will be ignored)
  • -powlim (if not set option will be ignored)
  • -cvddc (if not set option will be ignored)
  • -mvddc (if not set option will be ignored)

Other and dual mining features (check out wiki for more information on Dual Mining)

  • -etht (if not set default 200 or ignored if unused)
  • -allcoins (ignored if unused)
  • -r (if not set default 0 or ignored if unused)
  • -mode (if not set default 0 or ignored if unused)
  • -ftime (if not set default 0 or ignored if unused)
  • -eres (if not set default 2 or ignored if unused)
  • -dpool (ignored if unused)
  • -dwal (ignored if unused)
  • -dpsw (ignored if unused)
  • -dcoin (if not set default 20 or ignored if unused)
  • -dcri (if not set default 30 or ignored if unused) => this flag is important when using with -asm
  • -dcrt (if not set default 5 or ignored if unused)

AMD ClaymoreDual Temperature Control (if Temperature Control disabled all options will be ignored)

  • -tt (if not set option will be ignored)
  • -ttdcr (if not set option will be ignored)
  • -ttli (if not set option will be ignored)
  • -tstop (if not set option will be ignored)
  • -fanmax (if not set option will be ignored)
  • -fanmin (if not set option will be ignored)

AMD OptiminerZcash

  • --force-generic-kernel (if not set option will be ignored)
  • --experimental-kernel (if not set option will be ignored)
  • --nodevfee (if not set option will be ignored)
  • -i (if not set option will be ignored)
  • --pci-mode (if not set option will be ignored)

How to add missing miner flag

You can now add missing miner flags for certain miners (when manually updating/changing miners). After first start of NiceHash Miner (v1.7.4.4 and up) there will be an internals folder created. Here you will see MinerOptionPackage_'MINER NAME'.json. If there is a missing parameter you can edit the GeneralOptions for general optimizations or TemperatureOptions for temperature settings. This is the ccminer default:

{ "Name": "ccminer", "Type": 1, "GeneralOptions": [ { "Type": "Intensity", "ShortName": "-i", "LongName": "--intensity=", "Default": "0", "FlagType": 2, "Separator": "," } ], "TemperatureOptions": [] }

There is only one general option Intensity. It has a short parameter name (ShortName), long parameter name (LongName), default value Please NOTE that this is the IgnoreDefaultValue. It will not set the miners to the set value, this value is for the parser to ignore (Default), FlagType of 2 = MultiParam (explanation ) and a comma separator (Separator).

FlagType

This parameter indicates how to group multiple devices:

  • Uni = 0 this means that the flag doesn't have any parameters
  • SingleParam = 1 this means that the flag has only one parameter
  • MultiParam = 2 this means that the flag accepts more than one parameter (example two gpus with different intensity values)
  • DuplicateMultiParam = 3 flag repeats per device (this is for OptiminerZcash intensity only)